diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index ea717e7edccbdebe98166eb0c88073477f3e307a..b2463c75f099d6f0cd06ed83a5ec6a55fc7ae2f8 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' schedule: # Run at midnight UTC every Tuesday - cron: '0 0 * * 2' @@ -18,6 +20,7 @@ env: GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' GALAXY_CONFIG_SQLALCHEMY_WARN_20: '1' + GALAXY_TEST_REQUIRE_ALL_NEEDED_TOOLS: '1' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -55,15 +58,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/bioblend.yaml b/.github/workflows/bioblend.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f0da9f2ed0e673fb0f19f3efa827608c358ca630 --- /dev/null +++ b/.github/workflows/bioblend.yaml @@ -0,0 +1,80 @@ +name: BioBlend Tests +on: + pull_request: + paths: + - .github/workflows/bioblend.yaml + - lib/galaxy/schema/** + - lib/galaxy/webapps/galaxy/api/** + - lib/galaxy/webapps/galaxy/services/** + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + test: + runs-on: ubuntu-latest + services: + postgres: + image: postgres + # Provide the password for postgres + env: + POSTGRES_PASSWORD: postgres + # Set health checks to wait until postgres has started + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 5432:5432 + strategy: + fail-fast: false + matrix: + tox_env: [py313] + galaxy_python_version: ["3.8"] + steps: + - name: Checkout Galaxy + uses: actions/checkout@v4 + with: + fetch-depth: 1 + path: galaxy + - name: Checkout Bioblend + uses: actions/checkout@v4 + with: + repository: galaxyproject/bioblend + path: bioblend + - name: Cache pip dir + uses: actions/cache@v4 + with: + path: ~/.cache/pip + key: pip-cache-${{ matrix.tox_env }} + - name: Calculate Python version for BioBlend from tox_env + id: get_bioblend_python_version + run: echo "bioblend_python_version=$(echo "${{ matrix.tox_env }}" | sed -e 's/^py\([3-9]\)\([0-9]\+\)/\1.\2/')" >> $GITHUB_OUTPUT + - name: Set up Python for BioBlend + uses: actions/setup-python@v5 + with: + python-version: ${{ steps.get_bioblend_python_version.outputs.bioblend_python_version }} + - name: Install tox + run: | + python3 -m pip install --upgrade pip setuptools + python3 -m pip install 'tox>=1.8.0' + - name: Set up Python for Galaxy + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.galaxy_python_version }} + - name: Run tests + env: + PGPASSWORD: postgres + PGPORT: 5432 + PGHOST: localhost + run: | + # Create a PostgreSQL database for Galaxy. The default SQLite3 database makes test fail randomly because of "database locked" error. + createdb -U postgres galaxy + export DATABASE_CONNECTION=postgresql://postgres:@localhost/galaxy + ./bioblend/run_bioblend_tests.sh -g galaxy -v python${{ matrix.galaxy_python_version }} -e ${{ matrix.tox_env }} + - name: The job has failed + if: ${{ failure() }} + run: | + cat galaxy/*.log diff --git a/.github/workflows/build_container_image.yaml b/.github/workflows/build_container_image.yaml index 53a4a285a73d2c5acc2accb55ad4295afdadaa5f..dbff3546e9ae79fb4458da7bddf04abbfa017455 100644 --- a/.github/workflows/build_container_image.yaml +++ b/.github/workflows/build_container_image.yaml @@ -10,8 +10,67 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: + ghcrbuild: + name: Build container image for GHCR + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # https://stackoverflow.com/questions/59810838/how-to-get-the-short-sha-for-the-github-workflow + - name: Set outputs + id: commit + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Set branch name + id: branch + run: | + if [[ "$GITHUB_REF" == "refs/tags/"* ]]; then + echo "name=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT + elif [[ "$GITHUB_REF" == "refs/heads/dev" ]]; then + echo "name=dev" >> $GITHUB_OUTPUT + elif [[ "$GITHUB_REF" == "refs/heads/release_"* ]]; then + echo "name=${GITHUB_REF#refs/heads/release_}-auto" >> $GITHUB_OUTPUT + fi + shell: bash + - name: Extract metadata for container image + id: meta + uses: docker/metadata-action@v4 + with: + images: ghcr.io/${{ github.repository }} + tags: | + type=raw,value=${{steps.branch.outputs.name}} + - name: Build args + id: buildargs + run: | + echo "gitcommit=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT + echo "builddate=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + with: + platforms: linux/amd64 + + - name: Login to GHCR + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push container image to ghcr + uses: docker/build-push-action@v4 + with: + build-args: | + GIT_COMMIT=${{ steps.buildargs.outputs.gitcommit }} + BUILD_DATE=${{ steps.buildargs.outputs.builddate }} + IMAGE_TAG=${{ steps.branch.outputs.name }} + file: .k8s_ci.Dockerfile + push: true + context: . + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64 + build: - name: Build container image + name: Build container image for Galaxy repos runs-on: ubuntu-latest if: github.repository_owner == 'galaxyproject' steps: @@ -58,3 +117,4 @@ jobs: uses: actions-hub/docker@master with: args: push galaxy/galaxy-min:${{ steps.branch.outputs.name }} + diff --git a/.github/workflows/check_test_class_names.yaml b/.github/workflows/check_test_class_names.yaml index 1d73f57af374332c9c4aaf8673cc4b24fbee04f1..33bf31877177f0f607312585a25860f81d8049d2 100644 --- a/.github/workflows/check_test_class_names.yaml +++ b/.github/workflows/check_test_class_names.yaml @@ -5,6 +5,9 @@ on: - '.ci/check_test_class_names.sh' - 'lib/galaxy_test/**' - 'test/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: test: name: Test @@ -17,11 +20,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }} + cache: 'pip' + cache-dependency-path: 'requirements.txt' - name: Install Python dependencies run: pip install -r requirements.txt -r lib/galaxy/dependencies/dev-requirements.txt - name: Run tests diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a4cb056311a5beadd60fac600e576f0de8e07cca..bbacec3a450b65d1533f33b09c06cafa0c2197d9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,7 +19,9 @@ on: branches: [ dev ] schedule: - cron: '16 6 * * 0' - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: analyze: name: Analyze diff --git a/.github/workflows/converter_tests.yaml b/.github/workflows/converter_tests.yaml index 23848f81c014bf5d5dcdef91bfc3c07f08439f61..0a1928e69861e8b842e291f69196acf415b613bc 100644 --- a/.github/workflows/converter_tests.yaml +++ b/.github/workflows/converter_tests.yaml @@ -4,10 +4,12 @@ on: paths-ignore: - 'client/**' - 'doc/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' + - 'packages/**' schedule: # Run at midnight UTC every Tuesday - cron: '0 0 * * 2' @@ -44,12 +46,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Cache venv dir - uses: actions/cache@v4 - id: pip-cache - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Move test data run: rsync -av --remove-source-files --exclude .git galaxy-test-data/ 'galaxy root/test-data/' - name: Install planemo @@ -64,7 +62,7 @@ jobs: - name: Lint converters run: | mapfile -t TOOL_ARRAY < tool_list.txt - planemo lint --skip citations,stdio,help --report_level warn "${TOOL_ARRAY[@]}" + planemo lint --skip CitationsMissing,HelpEmpty,HelpMissing --report_level warn "${TOOL_ARRAY[@]}" - name: Run tests run: | mapfile -t TOOL_ARRAY < tool_list.txt diff --git a/.github/workflows/cwl_conformance.yaml b/.github/workflows/cwl_conformance.yaml index f9ac963071ac745c3ebf59cbda865771033aa79b..3dbae9898f4f34e992eb5d59379fcd714a515c8f 100644 --- a/.github/workflows/cwl_conformance.yaml +++ b/.github/workflows/cwl_conformance.yaml @@ -4,10 +4,14 @@ on: paths-ignore: - 'client/**' - 'doc/**' + - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' + - 'lib/galaxy_test/selenium/**' + - 'packages/**' env: GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' concurrency: @@ -46,20 +50,17 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }} + key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api - name: Run tests run: ./run_tests.sh --coverage --skip_flakey_fails -cwl lib/galaxy_test/api/cwl -- -m "${{ matrix.marker }} and ${{ matrix.conformance-version }}" working-directory: 'galaxy root' diff --git a/.github/workflows/db_indexes.yaml b/.github/workflows/db_indexes.yaml index cc5ec407b5d4819b23f9498f79f6a534f618ea56..f74c7d5f63e228bed68a0fbf2746c0a2b55d1d0c 100644 --- a/.github/workflows/db_indexes.yaml +++ b/.github/workflows/db_indexes.yaml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -45,16 +47,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - id: pip-cache - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache tox env uses: actions/cache@v4 with: diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 56530f565278189bf8afe95db235f88f2ac936e4..2401107eb32517ccb950a1c2f6d69ed8c513e59a 100644 --- a/.github/workflows/dependencies.yaml +++ b/.github/workflows/dependencies.yaml @@ -8,29 +8,31 @@ jobs: name: Update dependencies if: github.repository_owner == 'galaxyproject' runs-on: ubuntu-latest - strategy: - matrix: - python-version: ['3.8'] steps: - uses: actions/checkout@v4 + # Install Python 3.8 for update_lint_requirements.sh + # Install Python 3.9 (as default) to allow `uv lock` to generate metadata for rucio-clients - uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: | + 3.8 + 3.9 - name: Update dependencies - run: | - python -m venv .venv - make update-dependencies + run: make update-dependencies - name: Create pull request uses: peter-evans/create-pull-request@v6 with: author: galaxybot token: ${{ secrets.GALAXYBOT_PAT }} - commit-message: Update Python dependencies + commit-message: | + Update Python dependencies + + by running `make update-dependencies`. branch: dev_auto_update_dependencies delete-branch: true push-to-fork: galaxybot/galaxy title: Update Python dependencies - body: Run `make update-dependencies`. + body: by running `make update-dependencies`. labels: | area/dependencies kind/enhancement diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 6e6506e9fdf89ac184f07f60633c1f07af583930..281b60beb071d234abca8e939292dc19c4701454 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -20,10 +20,6 @@ on: - all - api - selenium - branch: - description: 'Branch of code to run from' - default: 'dev' - type: string debug: required: true description: 'Run deployment tests with debug mode on' @@ -41,11 +37,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }} + cache: 'pip' + cache-dependency-path: 'requirements.txt' - uses: nanasess/setup-chromedriver@v2 - name: Run tests run: bash ./test/deployment/usegalaxystar.bash diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 77a01f531907e58c15cacbf91145f45a0e930d8a..742d5b6a0048e9700fcd9eb7f905de1e5f183f39 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -4,10 +4,12 @@ on: paths-ignore: - 'client/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -32,11 +34,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }} + cache: 'pip' + cache-dependency-path: 'requirements.txt' - name: Install Python dependencies run: pip install -r requirements.txt -r lib/galaxy/dependencies/dev-requirements.txt sphinxcontrib-simpleversioning - name: Add Google Analytics to doc/source/conf.py diff --git a/.github/workflows/first_startup.yaml b/.github/workflows/first_startup.yaml index bc487ab9ec327cccc55219f0ae17f40b97575c91..c874344fe6d006d85dfb1d0196cac92f95facef0 100644 --- a/.github/workflows/first_startup.yaml +++ b/.github/workflows/first_startup.yaml @@ -4,10 +4,12 @@ on: paths-ignore: - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' env: YARN_INSTALL_OPTS: --frozen-lockfile concurrency: @@ -23,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] defaults: run: shell: bash -l {0} @@ -40,16 +42,12 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - id: pip-cache - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache tox env uses: actions/cache@v4 with: diff --git a/.github/workflows/framework.yaml b/.github/workflows/framework_tools.yaml similarity index 88% rename from .github/workflows/framework.yaml rename to .github/workflows/framework_tools.yaml index dcc5e7614b15b10a629edadab1005e0f02cbb951..167afcdc45b8982311bdb76403b3c8c535a9f1be 100644 --- a/.github/workflows/framework.yaml +++ b/.github/workflows/framework_tools.yaml @@ -1,15 +1,17 @@ -name: Framework tests +name: Tool framework tests on: push: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' schedule: # Run at midnight UTC every Tuesday - cron: '0 0 * * 2' @@ -51,22 +53,19 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework + key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework-tools - name: Run tests - run: ./run_tests.sh --coverage --framework + run: ./run_tests.sh --coverage --framework-tools working-directory: 'galaxy root' - uses: codecov/codecov-action@v3 with: diff --git a/.github/workflows/framework_workflows.yaml b/.github/workflows/framework_workflows.yaml new file mode 100644 index 0000000000000000000000000000000000000000..018463833e22af398a9de0cdc2653c5f7a1bd330 --- /dev/null +++ b/.github/workflows/framework_workflows.yaml @@ -0,0 +1,77 @@ +name: Workflow framework tests +on: + push: + paths-ignore: + - 'client/**' + - 'doc/**' + - 'lib/galaxy_test/selenium/**' + pull_request: + paths-ignore: + - 'client/**' + - 'doc/**' + - 'lib/galaxy_test/selenium/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' +env: + GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' + GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' + GALAXY_TEST_WORKFLOW_AFTER_RERUN: '1' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + test: + name: Test + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.8'] + services: + postgres: + image: postgres:13 + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: postgres + ports: + - 5432:5432 + steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV + - uses: actions/checkout@v4 + with: + path: 'galaxy root' + - uses: actions/setup-node@v4 + with: + node-version: '18.12.1' + cache: 'yarn' + cache-dependency-path: 'galaxy root/client/yarn.lock' + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' + - name: Get full Python version + id: full-python-version + shell: bash + run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT + - name: Cache galaxy venv + uses: actions/cache@v4 + with: + path: 'galaxy root/.venv' + key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework-workflows + - name: Run tests + run: ./run_tests.sh --coverage --framework-workflows + working-directory: 'galaxy root' + - uses: codecov/codecov-action@v3 + with: + flags: framework + working-directory: 'galaxy root' + - uses: actions/upload-artifact@v4 + if: failure() + with: + name: Framework test results (${{ matrix.python-version }}) + path: 'galaxy root/run_framework_workflows_tests.html' diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 0dc78ef4bb1c1e411975df4f7f5c9f3922e84fce..1bdc5b58cf9a77d62022243c5abb61ea8fc0685c 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' schedule: # Run at midnight UTC every Tuesday - cron: '0 0 * * 2' @@ -25,7 +27,7 @@ concurrency: jobs: test: name: Test - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -76,16 +78,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - id: pip-cache - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/integration_selenium.yaml b/.github/workflows/integration_selenium.yaml index 414446b5d827951b126e870bd49c89b48a70343e..73488daea60ddb7885d7cbb498ceada964cfd4a7 100644 --- a/.github/workflows/integration_selenium.yaml +++ b/.github/workflows/integration_selenium.yaml @@ -3,9 +3,11 @@ on: push: paths-ignore: - 'doc/**' + - 'packages/**' pull_request: paths-ignore: - 'doc/**' + - 'packages/**' schedule: # Run at midnight UTC every Tuesday - cron: '0 0 * * 2' @@ -54,15 +56,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index fc03fde8c3a9ddbf7301c90f2f9245532b04ce83..37d337fb95febef33a5f35103805de734721b430 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] env: LINT_PATH: 'lib/galaxy/dependencies/pinned-lint-requirements.txt' TYPE_PATH: 'lib/galaxy/dependencies/pinned-typecheck-requirements.txt' @@ -32,15 +32,15 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: | + ${{ env.LINT_PATH }} + ${{ env.TYPE_PATH }} + ${{ env.CORE_PATH }} - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles(env.LINT_PATH, env.TYPE_PATH, env.CORE_PATH) }} - name: Cache tox env uses: actions/cache@v4 with: @@ -55,4 +55,6 @@ jobs: - name: Run mypy checks run: tox -e mypy - uses: psf/black@stable + with: + version: "24.8.0" # last version supporting Python 3.8 - uses: isort/isort-action@v1 diff --git a/.github/workflows/lint_openapi_schema.yml b/.github/workflows/lint_openapi_schema.yml index 4269db840770159f6da35f0a33154ab59ef55666..9aa656bd20e1c34846af46e5f867338039c0dce9 100644 --- a/.github/workflows/lint_openapi_schema.yml +++ b/.github/workflows/lint_openapi_schema.yml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -20,28 +22,25 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] steps: - uses: actions/checkout@v4 with: path: 'galaxy root' - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - uses: actions/setup-node@v4 with: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/maintenance_bot.yaml b/.github/workflows/maintenance_bot.yaml index 1daa3898769d0a4697e64c26d8e362882f03e7ef..b45dd2b87c7a45ad3578599b7a2686c740f53994 100644 --- a/.github/workflows/maintenance_bot.yaml +++ b/.github/workflows/maintenance_bot.yaml @@ -12,7 +12,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest env: - MILESTONE_NUMBER: 27 + MILESTONE_NUMBER: 29 steps: - name: Get latest pull request labels id: get_pr_labels diff --git a/.github/workflows/mulled.yaml b/.github/workflows/mulled.yaml index 4d33cc3febd733a67b2a2b350257a48996f269ec..0d4eed74c0e02f03e055858c33d7db07791772b8 100644 --- a/.github/workflows/mulled.yaml +++ b/.github/workflows/mulled.yaml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -28,15 +30,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache tox env uses: actions/cache@v4 with: @@ -44,6 +43,8 @@ jobs: key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-mulled - name: Install Apptainer's singularity uses: eWaterCycle/setup-apptainer@v2 + with: + apptainer-version: 1.3.6 # https://github.com/eWaterCycle/setup-apptainer/pull/68 - name: Install tox run: pip install tox - name: Run tests diff --git a/.github/workflows/osx_startup.yaml b/.github/workflows/osx_startup.yaml index 0a3050cbcb6b77ada165c16345afb3cdaf1c75d2..b0639ca433406c0d1f6a594641dffb2551537c44 100644 --- a/.github/workflows/osx_startup.yaml +++ b/.github/workflows/osx_startup.yaml @@ -4,10 +4,12 @@ on: paths-ignore: - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -21,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] defaults: run: shell: bash -l {0} @@ -34,24 +36,15 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache pip dir uses: actions/cache@v4 - id: pip-cache with: path: ~/Library/Caches/pip key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - - name: Cache tox env - uses: actions/cache@v4 - with: - path: .tox - key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-osx - - name: Install miniconda # use this job to test using Python from a conda environment + - name: Install miniforge # use this job to test using Python from a conda environment uses: conda-incubator/setup-miniconda@v3 with: + miniforge-version: latest activate-environment: '' - name: Restore client cache uses: actions/cache@v4 diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index 45413a608f190b32c65b103adae49da3abc9ab54..ecfdc7452464acb8bc759996ec6de7e224d76c3c 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' schedule: # Run at midnight UTC every Tuesday - cron: '0 0 * * 2' @@ -50,15 +52,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/pr-title-update.yml b/.github/workflows/pr-title-update.yml new file mode 100644 index 0000000000000000000000000000000000000000..8ffd54a45da423c5125599c8e97d877deff656ec --- /dev/null +++ b/.github/workflows/pr-title-update.yml @@ -0,0 +1,29 @@ +name: Update PR title + +on: + pull_request_target: + types: [opened, edited, reopened] + +jobs: + update-title: + if: github.event.action != 'edited' || github.event.changes.base.ref.from != '' + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: Update PR title + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_NUMBER: ${{ github.event.pull_request.number }} + TARGET_BRANCH: "${{ github.base_ref }}" + PR_TITLE: "${{ github.event.pull_request.title }}" + REPO: "${{ github.repository }}" + run: | + VERSION=$(echo $TARGET_BRANCH | grep -oP '^release_\K\d+.\d+$' || true) + NEW_TITLE=$(echo "$PR_TITLE" | sed -E "s/\[[0-9]+\.[0-9]+\] //") + if [[ -n "$VERSION" ]]; then + NEW_TITLE="[$VERSION] $NEW_TITLE" + fi + if [[ "$NEW_TITLE" != "$PR_TITLE" ]]; then + gh pr edit $PR_NUMBER --repo "$REPO" --title "$NEW_TITLE" + fi diff --git a/.github/workflows/publish_artifacts.yaml b/.github/workflows/publish_artifacts.yaml index dded5d1086eb0d76868c55078baf331ad85144fa..e4bc8f6118f8fc38148ab0396a6ec4440a9ae0ac 100644 --- a/.github/workflows/publish_artifacts.yaml +++ b/.github/workflows/publish_artifacts.yaml @@ -1,26 +1,48 @@ name: Publish release artifacts on: - release: - types: [released, prereleased] + release: + types: [released, prereleased] jobs: - build-and-publish: + build-and-publish-pypi: if: github.repository_owner == 'galaxyproject' - name: build-and-publish + name: Build and Publish to PyPI runs-on: ubuntu-latest strategy: matrix: python-version: ['3.8'] steps: + - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: actions/checkout@v4 - name: Install script dependencies run: pip install galaxy-release-util - - name: Build and publish + - name: Build and publish to PyPI run: | galaxy-release-util build-and-upload --no-confirm env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ github.event.release.prerelease && secrets.PYPI_TEST_TOKEN || secrets.PYPI_MAIN_TOKEN }} TWINE_REPOSITORY_URL: ${{ github.event.release.prerelease && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }} + + build-and-publish-npm: + if: github.repository_owner == 'galaxyproject' + name: Build and Publish to NPM + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '18.12.1' + cache: 'yarn' + cache-dependency-path: 'client/yarn.lock' + registry-url: 'https://registry.npmjs.org' + - name: build client + run: yarn && yarn build-production + working-directory: 'client' + - name: publish client + if: "!github.event.release.prerelease" + run: npm publish --provenance --access public + working-directory: 'client' + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/reports_startup.yaml b/.github/workflows/reports_startup.yaml index d2a730549837f7a7a04b04f49d2f32aa92dd2f35..f0285ff468f6f93a6bacd887eabca78c16c507cb 100644 --- a/.github/workflows/reports_startup.yaml +++ b/.github/workflows/reports_startup.yaml @@ -3,9 +3,11 @@ on: push: paths-ignore: - 'doc/**' + - 'packages/**' pull_request: paths-ignore: - 'doc/**' + - 'packages/**' env: YARN_INSTALL_OPTS: --frozen-lockfile concurrency: @@ -18,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] defaults: run: shell: bash -l {0} @@ -35,16 +37,12 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - id: pip-cache - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/selenium.yaml b/.github/workflows/selenium.yaml index 3c3d9126cbb524183ddee4ae33b83f2959ddb3d5..8ea022cad9d7e27359879426b2a9b026c214df31 100644 --- a/.github/workflows/selenium.yaml +++ b/.github/workflows/selenium.yaml @@ -3,9 +3,11 @@ on: push: paths-ignore: - 'doc/**' + - 'packages/**' pull_request: paths-ignore: - 'doc/**' + - 'packages/**' schedule: # Run at midnight UTC every Tuesday - cron: '0 0 * * 2' @@ -59,15 +61,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/test_galaxy_packages.yaml b/.github/workflows/test_galaxy_packages.yaml index da5e092118dc88c620da5ee34a1050cba9d6d1b2..f38f05846e747638a797bd93c682fa9ba3b51f03 100644 --- a/.github/workflows/test_galaxy_packages.yaml +++ b/.github/workflows/test_galaxy_packages.yaml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] steps: - uses: actions/checkout@v4 with: @@ -31,11 +31,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Install ffmpeg run: sudo apt-get update && sudo apt-get -y install ffmpeg - name: Install tox diff --git a/.github/workflows/test_galaxy_packages_for_pulsar.yaml b/.github/workflows/test_galaxy_packages_for_pulsar.yaml index 3ce8c2f3beceadadf5d0f7e6513b55f3a3ae58cc..5f54f7fd31adc7387eb484eee8cffcadeab5e974 100644 --- a/.github/workflows/test_galaxy_packages_for_pulsar.yaml +++ b/.github/workflows/test_galaxy_packages_for_pulsar.yaml @@ -16,7 +16,7 @@ concurrency: jobs: test: name: Test - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # Python 3.7 is not available via setup-python on ubuntu >=24.04 strategy: fail-fast: false matrix: @@ -28,11 +28,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Install Apptainer's singularity uses: eWaterCycle/setup-apptainer@v2 - name: Install ffmpeg diff --git a/.github/workflows/toolshed.yaml b/.github/workflows/toolshed.yaml index df121215d9f1112ff1fa0e088070aa7586e455f3..46ba1b38956175204639e8d136ee8f6fece52238 100644 --- a/.github/workflows/toolshed.yaml +++ b/.github/workflows/toolshed.yaml @@ -4,10 +4,12 @@ on: paths-ignore: - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' env: GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' TOOL_SHED_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/toolshed?client_encoding=utf8' @@ -21,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] shed-api: ['v1', 'v2'] test-install-client: ['galaxy_api', 'standalone'] services: @@ -45,16 +47,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - id: pip-cache - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/unit-postgres.yaml b/.github/workflows/unit-postgres.yaml index dbb9b21587c716e2381f9aa9c4498f1463dcc2ed..9c106bfd4613bc62a07635f1423393534d348d6d 100644 --- a/.github/workflows/unit-postgres.yaml +++ b/.github/workflows/unit-postgres.yaml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' env: GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/postgres?client_encoding=utf8' # using postgres as the db concurrency: @@ -44,15 +46,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache galaxy venv uses: actions/cache@v4 with: diff --git a/.github/workflows/unit.yaml b/.github/workflows/unit.yaml index 33b2857ddeee1c3a1a3678ac1cb31f4cd6a2f70b..bf41453d740a37cc263cf7d8d356cdb2f2c0d1c1 100644 --- a/.github/workflows/unit.yaml +++ b/.github/workflows/unit.yaml @@ -5,11 +5,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' pull_request: paths-ignore: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + - 'packages/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -20,28 +22,25 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.8', '3.13'] steps: - uses: actions/checkout@v4 with: path: 'galaxy root' - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - uses: actions/setup-node@v4 with: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'galaxy root/requirements.txt' - name: Get full Python version id: full-python-version shell: bash run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - - name: Cache pip dir - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Cache tox env uses: actions/cache@v4 with: diff --git a/.gitignore b/.gitignore index d40861441c6a3d23739e4fc59dccd99d62980a37..330502b43a5ea6fee170a2e07e66184e44db27eb 100644 --- a/.gitignore +++ b/.gitignore @@ -153,6 +153,7 @@ doc/build doc/schema.md doc/source/admin/config_logging_default_yaml.rst doc/source/dev/schema.md +doc/source/dev/plantuml.jar client/docs/dist # Webpack stats diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d8f4c947fd81c39c59eae6a38209d4152175fc0..065b2a47fe7d0d3a1a8bf55e0278717f83696052 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,8 +9,8 @@ variables: CONTAINER_GALAXY_URL: "${NDIP_DOCKER_REPOSITORY}/${CI_PROJECT_PATH}" CONTAINER_GALAXY_BASE_URL: "${CONTAINER_GALAXY_URL}/base" CONTAINER_GALAXY_COMMIT_URL: "${CONTAINER_GALAXY_URL}/commit" - GALAXY_VERSION_PYTHON: 24.1.dev5+ornl - GALAXY_VERSION_DOCKER: 24.1.dev5.ornl + GALAXY_VERSION_PYTHON: 24.2.dev0+ornl + GALAXY_VERSION_DOCKER: 24.2.dev0.ornl # This import is for the func_rse_docker_* functions before_script: diff --git a/Makefile b/Makefile index bd3422297aad91cfda6d488e745bd574174bde51..64d649ebf188d71642be1a2ae88fa6e96aa1e84c 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VENV?=.venv # Source virtualenv to execute command (darker, sphinx, twine, etc...) IN_VENV=if [ -f "$(VENV)/bin/activate" ]; then . "$(VENV)/bin/activate"; fi; -RELEASE_CURR:=24.1 +RELEASE_CURR:=25.0 RELEASE_UPSTREAM:=upstream CONFIG_MANAGE=$(IN_VENV) python lib/galaxy/config/config_manage.py PROJECT_URL?=https://github.com/galaxyproject/galaxy @@ -186,6 +186,9 @@ else $(IN_VENV) cd client && yarn install $(YARN_INSTALL_OPTS) endif +format-xsd: + xmllint --format --output galaxy-tmp.xsd lib/galaxy/tool_util/xsd/galaxy.xsd + mv galaxy-tmp.xsd lib/galaxy/tool_util/xsd/galaxy.xsd build-api-schema: $(IN_VENV) python scripts/dump_openapi_schema.py _schema.yaml @@ -196,8 +199,8 @@ remove-api-schema: rm _shed_schema.yaml update-client-api-schema: client-node-deps build-api-schema - $(IN_VENV) cd client && node openapi_to_schema.mjs ../_schema.yaml > src/api/schema/schema.ts && npx prettier --write src/api/schema/schema.ts - $(IN_VENV) cd client && node openapi_to_schema.mjs ../_shed_schema.yaml > ../lib/tool_shed/webapp/frontend/src/schema/schema.ts && npx prettier --write ../lib/tool_shed/webapp/frontend/src/schema/schema.ts + $(IN_VENV) cd client && npx openapi-typescript ../_schema.yaml > src/api/schema/schema.ts && npx prettier --write src/api/schema/schema.ts + $(IN_VENV) cd client && npx openapi-typescript ../_shed_schema.yaml > ../lib/tool_shed/webapp/frontend/src/schema/schema.ts && npx prettier --write ../lib/tool_shed/webapp/frontend/src/schema/schema.ts $(MAKE) remove-api-schema lint-api-schema: build-api-schema diff --git a/README.rst b/README.rst index 17e11d9ff09869d5503d9022c6a888aa113fefa4..6c4fb522c003ceb7da2007fc8ede154c72030c4b 100644 --- a/README.rst +++ b/README.rst @@ -24,7 +24,7 @@ Community support is available at `Galaxy Help Galaxy Quickstart ================= -Galaxy requires Python 3.8 . To check your Python version, run: +Galaxy requires Python 3.8 or higher. To check your Python version, run: .. code:: console diff --git a/SECURITY.md b/SECURITY.md index 2b30ab9b1106512291f5c9f6ffa1dd3b626c1f5d..22f1b73cc79b3adff123eea05ae10780d196acef 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -16,8 +16,7 @@ The following branches or releases receive security support: - Development on the `dev` branch, hosted on GitHub, which will become the next release of Galaxy - Releases within the past 12 months. - - E.g. 16.04 will receive support until 2017-04. As the month changes to 2017-05 it will become unsupported. -- There are currently no plans for Long Term Support (LTS) releases. + - E.g. 24.0 will receive support for a full year, at which point 25.0 will be available. For unsupported branches: @@ -41,7 +40,7 @@ These are only examples. The security team will provide a severity classificatio ## Notification of Vulnerabilities -For high severity issues, we will notify [the list of public Galaxy owners](https://lists.galaxyproject.org/listinfo/galaxy-public-servers) with: +For high severity issues, we will notify [the list of public Galaxy owners](https://lists.galaxyproject.org/lists/galaxy-public-servers.lists.galaxyproject.org/) with: - A description of the issue - List of supported versions that are affected diff --git a/client/.eslintrc.js b/client/.eslintrc.js index 8a7dd383bd66db88bccf8513cb4879ec62db3d53..a2ade17c292b63c55f3c8b8f7c1fb4e794a1e284 100644 --- a/client/.eslintrc.js +++ b/client/.eslintrc.js @@ -82,6 +82,11 @@ const baseRules = { "import/first": "error", "import/newline-after-import": "error", "import/no-duplicates": "error", + + "@typescript-eslint/consistent-type-imports": [ + "error", + { prefer: "type-imports", fixStyle: "inline-type-imports" }, + ], }; const baseExtends = [ diff --git a/client/docs/querying-the-api.md b/client/docs/querying-the-api.md index 63dc48b873eac5ba98ce2367e46a19f7ac881814..40360e44aea18abbe81585e98ed120dd329de3e9 100644 --- a/client/docs/querying-the-api.md +++ b/client/docs/querying-the-api.md @@ -24,44 +24,105 @@ If there is no Composable for the API endpoint you are using, try using a (Pinia ### Direct API Calls -- If the type of data you are querying should not be cached, or you just need to update or create new data, you can use the API directly. Make sure to use the **Fetcher** (see below) instead of Axios, as it provides a type-safe interface to the API along with some extra benefits. +- If the type of data you are querying should not be cached, or you just need to update or create new data, you can use the API directly. Make sure to use the **GalaxyApi client** (see below) instead of Axios, as it provides a type-safe interface to the API along with some extra benefits. -## 2. Prefer Fetcher over Axios (when possible) +## 2. Prefer **GalaxyApi client** over Axios (when possible) -- **Use Fetcher with OpenAPI Specs**: If there is an OpenAPI spec for the API endpoint you are using (in other words, there is a FastAPI route defined in Galaxy), always use the Fetcher. It will provide you with a type-safe interface to the API. +- **Use **GalaxyApi client** with OpenAPI Specs**: If there is an OpenAPI spec for the API endpoint you are using (in other words, there is a FastAPI route defined in Galaxy), always use the GalaxyApi client. It will provide you with a type-safe interface to the API. **Do** -```typescript -import { fetcher } from "@/api/schema"; -const datasetsFetcher = fetcher.path("/api/dataset/{id}").method("get").create(); +```ts +import { ref, onMounted } from "vue"; -const { data: dataset } = await datasetsFetcher({ id: "testID" }); +import { GalaxyApi, type HDADetailed } from "@/api"; +import { errorMessageAsString } from "@/utils/simple-error"; + +interface Props { + datasetId: string; +} + +const props = defineProps(); + +const datasetDetails = ref(); +const errorMessage = ref(); + +async function loadDatasetDetails() { + // Your IDE will provide you with autocompletion for the route and all the parameters + const { data, error } = await GalaxyApi().GET("/api/datasets/{dataset_id}", { + params: { + path: { + dataset_id: props.datasetId, + }, + query: { view: "detailed" }, + }, + }); + + if (error) { + // Handle error here. For example, you can display a message to the user. + errorMessage.value = errorMessageAsString(error); + // Make sure to return here, otherwise `data` will be undefined + return; + } + + // Use `data` here. We are casting it to HDADetailed to help the type inference because + // we requested the "detailed" view and this endpoint returns different types depending + // on the view. In general, the correct type will be inferred automatically using the + // API schema so you don't need to (and shouldn't) cast it. + datasetDetails.value = data as HDADetailed; +} + +onMounted(() => { + loadDatasetDetails(); +}); ``` **Don't** -```js +```ts +import { ref, onMounted } from "vue"; + import axios from "axios"; import { getAppRoot } from "onload/loadConfig"; -import { rethrowSimple } from "utils/simple-error"; +import { errorMessageAsString } from "@/utils/simple-error"; + +interface Props { + datasetId: string; +} + +const props = defineProps(); + +const datasetDetails = ref(); +const errorMessage = ref(); -async getDataset(datasetId) { +async function loadDatasetDetails() { + // You need to construct the URL yourself const url = `${getAppRoot()}api/datasets/${datasetId}`; + // You are forced to use a try-catch block to handle errors + // and you may forget to do so. try { - const response = await axios.get(url); - return response.data; + // This is not type-safe and cannot detect changes in the API schema. + const response = await axios.get(url, { + // You need to know the API parameters, no type inference here. + params: { view: "detailed" }, + }); + // In this case, you need to cast the response to the correct type + // (as in the previous example), but you will also have to do it in the general + // case because there is no type inference. + datasetDetails = response.data as HDADetailed; } catch (e) { - rethrowSimple(e); + errorMessage.value = errorMessageAsString(error); } } -const dataset = await getDataset("testID"); +onMounted(() => { + loadDatasetDetails(); +}); ``` > **Reason** > -> The `fetcher` class provides a type-safe interface to the API, and is already configured to use the correct base URL and error handling. +> The `GalaxyApi client` function provides a type-safe interface to the API, and is already configured to use the correct base URL. In addition, it will force you to handle errors properly, and will provide you with a type-safe response object. It uses `openapi-fetch` and you can find more information about it [here](https://openapi-ts.dev/openapi-fetch/). ## 3. Where to put your API queries? @@ -79,8 +140,8 @@ If so, you should consider putting the query in a Store. If not, you should cons If so, you should consider putting it under src/api/.ts and exporting it from there. This will allow you to reuse the query in multiple places specially if you need to do some extra processing of the data. Also it will help to keep track of what parts of the API are being used and where. -### Should I use the `fetcher` directly or should I write a wrapper function? +### Should I use the `GalaxyApi client` directly or should I write a wrapper function? -- If you **don't need to do any extra processing** of the data, you can use the `fetcher` directly. -- If you **need to do some extra processing**, you should consider writing a wrapper function. Extra processing can be anything from transforming the data to adding extra parameters to the query or omitting some of them, handling conditional types in response data, etc. -- Using a **wrapper function** will help in case we decide to replace the `fetcher` with something else in the future (as we are doing now with _Axios_). +- If you **don't need to do any additional processing** of the data, you **should** use the `GalaxyApi client` directly. +- If you **need to do some additional processing**, then consider writing a wrapper function. Additional processing can be anything from transforming the data to adding extra parameters to the query, providing useful defaults, handling conditional types in response data, etc. +- In any case, please try to avoid modeling your own types if you can use the ones defined in the OpenAPI spec (client/src/api/schema/schema.ts). This will help to keep the codebase consistent and avoid duplication of types or API specification drifting. diff --git a/client/docs/unit-testing/writing-tests.md b/client/docs/unit-testing/writing-tests.md index 9a49db6c510a37832147f93f5fc5b42a6fedfae4..830f8f27c9f90257b5b18ccc9fb7df1037864f57 100644 --- a/client/docs/unit-testing/writing-tests.md +++ b/client/docs/unit-testing/writing-tests.md @@ -67,3 +67,50 @@ describe("some module you wrote", () => { We have created some [common helpers for common testing scenarios](https://github.com/galaxyproject/galaxy/blob/dev/client/tests/jest/helpers.js). + +### Mocking API calls + +When testing components that make API calls, you should use [**Mock Service Worker**](https://mswjs.io/docs/getting-started/) in combination with [**openapi-msw**](https://github.com/christoph-fricke/openapi-msw?tab=readme-ov-file#openapi-msw). + +If you want to know more about why MSW is a good choice for mocking API calls, you can read [this article](https://mswjs.io/docs/philosophy). + +If your component makes an API call, for example to get a particular history, you can mock the response of the API call using the `useServerMock` composable in your test file. + +```ts +import { useServerMock } from "@/api/client/__mocks__"; + +const { server, http } = useServerMock(); + +describe("MyComponent", () => { + it("should do something with the history", async () => { + // Mock the response of the API call + server.use( + http.get("/api/histories/{history_id}", ({ params, query, response }) => { + // You can use logic to return different responses based on the request + if (query.get("view") === "detailed") { + return response(200).json(TEST_HISTORY_DETAILED); + } + + // Or simulate an error + if (params.history_id === "must-fail") { + return response("5XX").json(EXPECTED_500_ERROR, { status: 500 }); + } + + return response(200).json(TEST_HISTORY_SUMMARY); + }) + ); + + // Your test code here + }); +}); +``` + +Using this approach, it will ensure the type safety of the API calls and the responses. If you need to mock API calls that are not defined in the OpenAPI specs, you can use the `http.untyped` variant to mock any API route. Or define an untyped response for a specific route with `HttpResponse`. See the example below: + +```ts +const catchAll = http.untyped.all("/resource/*", ({ params }) => { + return HttpResponse.json(/* ... */); +}); +``` + +For more information on how to use `openapi-msw`, you can check the [official documentation](https://github.com/christoph-fricke/openapi-msw?tab=readme-ov-file#handling-unknown-paths). diff --git a/client/gulpfile.js b/client/gulpfile.js index 873bae0c0bd880615124ea0b3462189389c2bae8..f16b5eb8485401b73aca3cda83cd07ac6cb2b142 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -1,10 +1,11 @@ const path = require("path"); -const fs = require("fs"); +const fs = require("fs-extra"); const del = require("del"); const { src, dest, series, parallel, watch } = require("gulp"); const child_process = require("child_process"); const { globSync } = require("glob"); const buildIcons = require("./icons/build_icons"); +const xml2js = require("xml2js"); /* * We'll want a flexible glob down the road, but for now there are no @@ -14,22 +15,19 @@ const buildIcons = require("./icons/build_icons"); const STATIC_PLUGIN_BUILD_IDS = [ "annotate_image", "chiraviz", - "cytoscape", "drawrna", "editor", "example", + "fits_graph_viewer", "fits_image_viewer", "h5web", "heatmap/heatmap_default", "hyphyvision", "jqplot/jqplot_bar", "media_player", - "msa", "mvpapp", - "ngl", "nora", "nvd3/nvd3_bar", - "openlayers", "openseadragon", "PCA_3Dplot", "phylocanvas", @@ -37,11 +35,16 @@ const STATIC_PLUGIN_BUILD_IDS = [ "scatterplot", "tiffviewer", "ts_visjs", - "venn", ]; +const INSTALL_PLUGIN_BUILD_IDS = ["cytoscape", "ngl", "msa", "openlayers", "venn", "vizarr"]; // todo: derive from XML const DIST_PLUGIN_BUILD_IDS = ["new_user"]; const PLUGIN_BUILD_IDS = Array.prototype.concat(DIST_PLUGIN_BUILD_IDS, STATIC_PLUGIN_BUILD_IDS); +const failOnError = + process.env.GALAXY_PLUGIN_BUILD_FAIL_ON_ERROR && process.env.GALAXY_PLUGIN_BUILD_FAIL_ON_ERROR !== "0" + ? true + : false; + const PATHS = { nodeModules: "./node_modules", stagedLibraries: { @@ -57,11 +60,6 @@ const PATHS = { }, }; -const failOnError = - process.env.GALAXY_PLUGIN_BUILD_FAIL_ON_ERROR && process.env.GALAXY_PLUGIN_BUILD_FAIL_ON_ERROR !== "0" - ? true - : false; - PATHS.pluginBaseDir = (process.env.GALAXY_PLUGIN_PATH && process.env.GALAXY_PLUGIN_PATH !== "None" ? process.env.GALAXY_PLUGIN_PATH @@ -162,6 +160,8 @@ function buildPlugins(callback, forceRebuild) { console.log(`No changes detected for ${pluginName}`); } else { console.log(`Installing Dependencies for ${pluginName}`); + + // Else we call yarn install and yarn build child_process.spawnSync( "yarn", ["install", "--production=false", "--network-timeout=300000", "--check-files"], @@ -205,6 +205,64 @@ function buildPlugins(callback, forceRebuild) { return callback(); } +async function installPlugins(callback) { + // iterate through install_plugin_build_ids, identify xml files and install dependencies + for (const plugin_name of INSTALL_PLUGIN_BUILD_IDS) { + const pluginDir = path.join(PATHS.pluginBaseDir, `visualizations/${plugin_name}`); + const xmlPath = path.join(pluginDir, `config/${plugin_name}.xml`); + // Check if the file exists + if (fs.existsSync(xmlPath)) { + await installDependenciesFromXML(xmlPath, pluginDir); + } else { + console.error(`XML file not found: ${xmlPath}`); + } + } + return callback(); +} + +// Function to parse the XML and install dependencies +async function installDependenciesFromXML(xmlPath, pluginDir) { + try { + const pluginXML = fs.readFileSync(xmlPath); + const parsedXML = await xml2js.parseStringPromise(pluginXML); + const requirements = parsedXML.visualization.requirements[0].requirement; + + const installPromises = requirements.map(async (dep) => { + const { type: reqType, package: pkgName, version } = dep.$; + + if (reqType === "npm" && pkgName && version) { + try { + const installResult = child_process.spawnSync( + "npm", + ["install", "--silent", "--no-save", "--prefix .", `${pkgName}@${version}`], + { + cwd: pluginDir, + stdio: "inherit", + shell: true, + } + ); + + if (installResult.status === 0) { + await fs.copy( + path.join(pluginDir, "node_modules", pkgName, "static"), + path.join(pluginDir, "static") + ); + console.log(`Installed package ${pkgName}@${version} in ${pluginDir}`); + } else { + console.error(`Error installing package ${pkgName}@${version} in ${pluginDir}`); + } + } catch (err) { + console.error(`Error handling package ${pkgName}@${version} in ${pluginDir}:`, err); + } + } + }); + + await Promise.all(installPromises); + } catch (err) { + console.error(`Error processing XML file ${xmlPath}:`, err); + } +} + function forceBuildPlugins(callback) { return buildPlugins(callback, true); } @@ -214,8 +272,8 @@ function cleanPlugins() { } const client = parallel(fonts, stageLibs, icons); -const plugins = series(buildPlugins, cleanPlugins, stagePlugins); -const pluginsRebuild = series(forceBuildPlugins, cleanPlugins, stagePlugins); +const plugins = series(buildPlugins, installPlugins, cleanPlugins, stagePlugins); +const pluginsRebuild = series(forceBuildPlugins, installPlugins, cleanPlugins, stagePlugins); function watchPlugins() { const BUILD_PLUGIN_WATCH_GLOB = [ @@ -229,3 +287,4 @@ module.exports.plugins = plugins; module.exports.pluginsRebuild = pluginsRebuild; module.exports.watchPlugins = watchPlugins; module.exports.default = parallel(client, plugins); +module.exports.installPlugins = installPlugins; diff --git a/client/openapi_to_schema.mjs b/client/openapi_to_schema.mjs deleted file mode 100644 index d85b349f096d51a3fd83e90b5638a63ef30a8959..0000000000000000000000000000000000000000 --- a/client/openapi_to_schema.mjs +++ /dev/null @@ -1,21 +0,0 @@ -// this is a helper script that fixes const values -// upstream fix in https://github.com/drwpow/openapi-typescript/pull/1014 -import openapiTS from "openapi-typescript"; - -const inputFilePath = process.argv[2]; - -const localPath = new URL(inputFilePath, import.meta.url); -openapiTS(localPath, { - transform(schemaObject, metadata) { - if ("const" in schemaObject) { - const constType = typeof schemaObject.const; - switch (constType) { - case "number": - case "boolean": - return `${schemaObject.const}`; - default: - return `"${schemaObject.const}"`; - } - } - }, -}).then((output) => console.log(output)); diff --git a/client/package.json b/client/package.json index ed153282c5ac68b682c8e15f4c1392ea9f19f6ef..de12b9f71852ffb2bbf4c0edca156342d052a681 100644 --- a/client/package.json +++ b/client/package.json @@ -42,7 +42,7 @@ "@popperjs/core": "^2.11.8", "@sentry/browser": "^7.74.1", "@sentry/vue": "^7.114.0", - "@types/jest": "^29.5.6", + "@types/jest": "^29.5.12", "@vueuse/core": "^10.5.0", "@vueuse/math": "^10.9.0", "assert": "^2.1.0", @@ -62,9 +62,11 @@ "dom-to-image": "^2.6.0", "dompurify": "^3.0.6", "dumpmeta-webpack-plugin": "^0.2.0", + "echarts": "^5.5.1", "elkjs": "^0.8.2", "file-saver": "^2.0.5", "flush-promises": "^1.0.2", + "font-awesome-6": "npm:@fortawesome/free-solid-svg-icons@6", "glob": "^10.3.10", "handsontable": "^4.0.0", "hsluv": "^1.0.1", @@ -81,15 +83,14 @@ "markdown-it": "^13.0.2", "markdown-it-regexp": "^0.4.0", "object-hash": "^3.0.0", - "openapi-typescript": "^6.1.0", - "openapi-typescript-fetch": "^1.1.3", + "openapi-fetch": "^0.10.6", "pinia": "^2.1.7", "popper.js": "^1.16.1", "pretty-bytes": "^6.1.1", "pyre-to-regexp": "^0.0.6", "querystring-es3": "^0.2.1", "regenerator-runtime": "^0.14.0", - "requirejs": "2.3.6", + "requirejs": "2.3.7", "rxjs": "^7.8.1", "rxjs-spy": "^8.0.2", "rxjs-spy-devtools-plugin": "^0.0.4", @@ -101,7 +102,11 @@ "tus-js-client": "^3.1.1", "underscore": "^1.13.6", "util": "^0.12.5", + "vega": "^5.30.0", + "vega-embed": "^6.26.0", + "vega-lite": "^5.21.0", "vue": "^2.7.14", + "vue-echarts": "^7.0.3", "vue-infinite-scroll": "^2.0.2", "vue-multiselect": "^2.1.7", "vue-observe-visibility": "^1.0.0", @@ -142,7 +147,7 @@ "@babel/preset-typescript": "^7.23.2", "@cerner/duplicate-package-checker-webpack-plugin": "^2.3.0", "@pinia/testing": "0.1.3", - "@testing-library/jest-dom": "^6.1.4", + "@testing-library/jest-dom": "^6.4.8", "@types/d3": "^7.4.2", "@types/dompurify": "^3.0.2", "@types/jquery": "^3.5.24", @@ -172,15 +177,21 @@ "eslint-plugin-vue": "^9.17.0", "eslint-plugin-vuejs-accessibility": "^2.2.0", "expose-loader": "^4.1.0", + "fake-indexeddb": "^6.0.0", + "fs-extra": "^11.2.0", "gulp": "^4.0.2", "ignore-loader": "^0.1.2", "imports-loader": "^4.0.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", + "jest-fixed-jsdom": "^0.0.2", "jest-location-mock": "^2.0.0", "jsdom-worker": "^0.3.0", "json-loader": "^0.5.7", "mini-css-extract-plugin": "^2.7.6", + "msw": "^2.3.4", + "openapi-msw": "^0.7.0", + "openapi-typescript": "^7.3.0", "postcss-loader": "^7.3.3", "prettier": "^2.8.8", "process": "^0.11.10", @@ -189,7 +200,7 @@ "sass-loader": "^13.3.2", "store": "^2.0.12", "style-loader": "^3.3.3", - "ts-jest": "^29.1.1", + "ts-jest": "^29.2.3", "ts-loader": "^9.5.0", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "^5.2.2", @@ -200,6 +211,7 @@ "webpack-dev-server": "^4.15.1", "webpack-merge": "^5.10.0", "xml-js": "^1.6.11", + "xml2js": "^0.6.2", "yaml-jest": "^1.2.0", "yaml-loader": "^0.8.0" }, diff --git a/client/src/api/client/__mocks__/index.ts b/client/src/api/client/__mocks__/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..573116ce03b36e5c08f3c8fc91ef466143803dc8 --- /dev/null +++ b/client/src/api/client/__mocks__/index.ts @@ -0,0 +1,68 @@ +import { HttpResponse } from "msw"; +import { setupServer } from "msw/node"; +import { createOpenApiHttp } from "openapi-msw"; + +import { type GalaxyApiPaths } from "@/api/schema"; + +export { HttpResponse }; + +function createApiClientMock() { + return createOpenApiHttp({ baseUrl: window.location.origin }); +} + +let http: ReturnType; +let server: ReturnType; + +/** + * Returns a `server` instance that can be used to mock the Galaxy API server + * and make requests to the Galaxy API using the OpenAPI schema. + * + * It is an instance of Mock Service Worker (MSW) server (https://github.com/mswjs/msw). + * And the `http` object is an instance of OpenAPI-MSW (https://github.com/christoph-fricke/openapi-msw) + * that add support for full type inference from OpenAPI schema definitions. + */ +export function useServerMock() { + if (!server) { + server = setupServer(); + http = createApiClientMock(); + } + + beforeAll(() => { + // Enable API mocking before all the tests. + server.listen({ + onUnhandledRequest: (request) => { + const method = request.method.toLowerCase(); + const apiPath = request.url.replace(window.location.origin, ""); + const errorMessage = ` +No request handler found for ${request.method} ${request.url}. + +Make sure you have added a request handler for this request in your tests. + +Example: + +const { server, http } = useServerMock(); +server.use( + http.${method}('${apiPath}', ({ response }) => { + return response(200).json({}); + }) +); + `; + throw new Error(errorMessage); + }, + }); + }); + + afterEach(() => { + // Reset the request handlers between each test. + // This way the handlers we add on a per-test basis + // do not leak to other, irrelevant tests. + server.resetHandlers(); + }); + + afterAll(() => { + // Finally, disable API mocking after the tests are done. + server.close(); + }); + + return { server, http }; +} diff --git a/client/src/api/client/index.ts b/client/src/api/client/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..3de48773d64b8502081740f5c068e65f86048730 --- /dev/null +++ b/client/src/api/client/index.ts @@ -0,0 +1,32 @@ +import createClient from "openapi-fetch"; + +import { type GalaxyApiPaths } from "@/api/schema"; +import { getAppRoot } from "@/onload/loadConfig"; + +function getBaseUrl() { + const isTest = process.env.NODE_ENV === "test"; + return isTest ? window.location.origin : getAppRoot(undefined, true); +} + +function apiClientFactory() { + return createClient({ baseUrl: getBaseUrl() }); +} + +export type GalaxyApiClient = ReturnType; + +let client: GalaxyApiClient; + +/** + * Returns the Galaxy API client. + * + * It can be used to make requests to the Galaxy API using the OpenAPI schema. + * + * See: https://openapi-ts.dev/openapi-fetch/ + */ +export function GalaxyApi(): GalaxyApiClient { + if (!client) { + client = apiClientFactory(); + } + + return client; +} diff --git a/client/src/api/client/serverMock.test.ts b/client/src/api/client/serverMock.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..e65b65b60f1a4a2a42ad7ad22841ca2d20c1bcb6 --- /dev/null +++ b/client/src/api/client/serverMock.test.ts @@ -0,0 +1,107 @@ +import { type HistoryDetailed, type HistorySummary, type MessageException } from "@/api"; +import { GalaxyApi } from "@/api"; +import { useServerMock } from "@/api/client/__mocks__"; + +const TEST_HISTORY_SUMMARY: HistorySummary = { + model_class: "History", + id: "test", + name: "Test History", + archived: false, + deleted: false, + purged: false, + published: false, + update_time: "2021-09-01T00:00:00", + count: 0, + annotation: "Test History Annotation", + tags: [], + url: "/api/histories/test", +}; + +const TEST_HISTORY_DETAILED: HistoryDetailed = { + ...TEST_HISTORY_SUMMARY, + create_time: "2021-09-01T00:00:00", + contents_url: "/api/histories/test/contents", + importable: false, + slug: "testSlug", + size: 0, + user_id: "userID", + username_and_slug: "username/slug", + state: "ok", + empty: true, + hid_counter: 0, + genome_build: null, + state_ids: {}, + state_details: {}, +}; + +const EXPECTED_500_ERROR: MessageException = { err_code: 500, err_msg: "Internal Server Error" }; + +// Mock the server responses +const { server, http } = useServerMock(); +server.use( + http.get("/api/histories/{history_id}", ({ params, query, response }) => { + if (query.get("view") === "detailed") { + return response(200).json(TEST_HISTORY_DETAILED); + } + if (params.history_id === "must-fail") { + return response("5XX").json(EXPECTED_500_ERROR, { status: 500 }); + } + return response(200).json(TEST_HISTORY_SUMMARY); + }) +); + +describe("useServerMock", () => { + it("mocks the Galaxy Server", async () => { + { + const { data, error } = await GalaxyApi().GET("/api/histories/{history_id}", { + params: { + path: { history_id: "test" }, + query: { view: "summary" }, + }, + }); + + expect(error).toBeUndefined(); + + expect(data).toBeDefined(); + expect(data).toEqual(TEST_HISTORY_SUMMARY); + } + + { + const { data, error } = await GalaxyApi().GET("/api/histories/{history_id}", { + params: { + path: { history_id: "test" }, + query: { view: "detailed" }, + }, + }); + + expect(error).toBeUndefined(); + + expect(data).toBeDefined(); + expect(data).toEqual(TEST_HISTORY_DETAILED); + } + + { + const { data, error } = await GalaxyApi().GET("/api/histories/{history_id}", { + params: { + path: { history_id: "must-fail" }, + }, + }); + + expect(error).toBeDefined(); + expect(error).toEqual(EXPECTED_500_ERROR); + + expect(data).toBeUndefined(); + } + + { + const { data, error } = await GalaxyApi().GET("/api/configuration"); + + expect(data).toBeUndefined(); + + expect(error).toBeDefined(); + expect(`${JSON.stringify(error)}`).toContain( + "Make sure you have added a request handler for this request in your tests." + ); + } + }); +}); diff --git a/client/src/api/configTemplates.ts b/client/src/api/configTemplates.ts index 51b21382c50544fcbf755ea511b2e7d74c84845d..ec987c7eb3a74e4bc21770ed419d44436facc83f 100644 --- a/client/src/api/configTemplates.ts +++ b/client/src/api/configTemplates.ts @@ -1,4 +1,6 @@ -import type { components } from "@/api/schema/schema"; +import { type components } from "@/api/schema"; + +export type CreateInstancePayload = components["schemas"]["CreateInstancePayload"]; export type Instance = | components["schemas"]["UserFileSourceModel"] @@ -10,13 +12,18 @@ export type TemplateVariable = | components["schemas"]["TemplateVariablePathComponent"] | components["schemas"]["TemplateVariableBoolean"]; export type TemplateSecret = components["schemas"]["TemplateSecret"]; -export type VariableValueType = (string | boolean | number) | undefined; -export type VariableData = { [key: string]: VariableValueType }; -export type SecretData = { [key: string]: string }; +export type VariableData = CreateInstancePayload["variables"]; +export type VariableValueType = VariableData[keyof VariableData]; +export type SecretData = CreateInstancePayload["secrets"]; export type PluginAspectStatus = components["schemas"]["PluginAspectStatus"]; export type PluginStatus = components["schemas"]["PluginStatus"]; +export type UpgradeInstancePayload = components["schemas"]["UpgradeInstancePayload"]; +export type TestUpgradeInstancePayload = components["schemas"]["TestUpgradeInstancePayload"]; +export type UpdateInstancePayload = components["schemas"]["UpdateInstancePayload"]; +export type TestUpdateInstancePayload = components["schemas"]["TestUpdateInstancePayload"]; + export interface TemplateSummary { description: string | null; hidden?: boolean; diff --git a/client/src/api/datasetCollections.ts b/client/src/api/datasetCollections.ts index cc45c5811cf7a7b7d852fc2f9b1b1dbe00ef8527..f659ec4982c41a46fa3d33889071dda519a28096 100644 --- a/client/src/api/datasetCollections.ts +++ b/client/src/api/datasetCollections.ts @@ -1,16 +1,20 @@ -import { CollectionEntry, DCESummary, HDCADetailed, HDCASummary, isHDCA } from "@/api"; -import { fetcher } from "@/api/schema"; +import { type CollectionEntry, type DCESummary, GalaxyApi, type HDCADetailed, type HDCASummary, isHDCA } from "@/api"; +import { rethrowSimple } from "@/utils/simple-error"; const DEFAULT_LIMIT = 50; -const getCollectionDetails = fetcher.path("/api/dataset_collections/{id}").method("get").create(); - /** * Fetches the details of a collection. * @param params.id The ID of the collection (HDCA) to fetch. */ export async function fetchCollectionDetails(params: { id: string }): Promise { - const { data } = await getCollectionDetails({ id: params.id }); + const { data, error } = await GalaxyApi().GET("/api/dataset_collections/{id}", { + params: { path: params }, + }); + + if (error) { + rethrowSimple(error); + } return data as HDCADetailed; } @@ -19,15 +23,19 @@ export async function fetchCollectionDetails(params: { id: string }): Promise { - const { data } = await getCollectionDetails({ id: params.id, view: "collection" }); + const { data, error } = await GalaxyApi().GET("/api/dataset_collections/{id}", { + params: { + path: params, + query: { view: "collection" }, + }, + }); + + if (error) { + rethrowSimple(error); + } return data as HDCASummary; } -const getCollectionContents = fetcher - .path("/api/dataset_collections/{hdca_id}/contents/{parent_id}") - .method("get") - .create(); - export async function fetchCollectionElements(params: { /** The ID of the top level HDCA that associates this collection with the History it belongs to. */ hdcaId: string; @@ -38,13 +46,16 @@ export async function fetchCollectionElements(params: { /** The maximum number of elements to fetch. */ limit?: number; }): Promise { - const { data } = await getCollectionContents({ - instance_type: "history", - hdca_id: params.hdcaId, - parent_id: params.collectionId, - offset: params.offset, - limit: params.limit, + const { data, error } = await GalaxyApi().GET("/api/dataset_collections/{hdca_id}/contents/{parent_id}", { + params: { + path: { hdca_id: params.hdcaId, parent_id: params.collectionId }, + query: { instance_type: "history", offset: params.offset, limit: params.limit }, + }, }); + + if (error) { + rethrowSimple(error); + } return data; } @@ -65,14 +76,3 @@ export async function fetchElementsFromCollection(params: { limit: params.limit ?? DEFAULT_LIMIT, }); } - -export const fetchCollectionAttributes = fetcher - .path("/api/dataset_collections/{id}/attributes") - .method("get") - .create(); - -const postCopyCollection = fetcher.path("/api/dataset_collections/{id}/copy").method("post").create(); -export async function copyCollection(id: string, dbkey: string): Promise> { - const { data } = await postCopyCollection({ id, dbkey }); - return data; -} diff --git a/client/src/api/datasets.ts b/client/src/api/datasets.ts index c6096ea18f651392649e53840100114a52069bc9..6b8f0606537c0aaf1d2abd778ac027a41f350e28 100644 --- a/client/src/api/datasets.ts +++ b/client/src/api/datasets.ts @@ -1,86 +1,80 @@ import axios from "axios"; -import type { FetchArgType } from "openapi-typescript-fetch"; -import { HDADetailed } from "@/api"; -import { components, fetcher } from "@/api/schema"; +import { type components, GalaxyApi, type GalaxyApiPaths, type HDADetailed } from "@/api"; import { withPrefix } from "@/utils/redirect"; +import { rethrowSimple } from "@/utils/simple-error"; -export const datasetsFetcher = fetcher.path("/api/datasets").method("get").create(); - -type GetDatasetsApiOptions = FetchArgType; -type GetDatasetsQuery = Pick; -// custom interface for how we use getDatasets -interface GetDatasetsOptions extends GetDatasetsQuery { - sortBy?: string; - sortDesc?: boolean; - query?: string; -} +export async function fetchDatasetDetails(params: { id: string }): Promise { + const { data, error } = await GalaxyApi().GET("/api/datasets/{dataset_id}", { + params: { + path: { + dataset_id: params.id, + }, + query: { view: "detailed" }, + }, + }); -/** Datasets request helper **/ -export async function getDatasets(options: GetDatasetsOptions = {}) { - const params: GetDatasetsApiOptions = {}; - if (options.sortBy) { - const sortPrefix = options.sortDesc ? "-dsc" : "-asc"; - params.order = `${options.sortBy}${sortPrefix}`; - } - if (options.limit) { - params.limit = options.limit; - } - if (options.offset) { - params.offset = options.offset; + if (error) { + rethrowSimple(error); } - if (options.query) { - params.q = ["name-contains"]; - params.qv = [options.query]; - } - const { data } = await datasetsFetcher(params); - return data; -} - -export const fetchDataset = fetcher.path("/api/datasets/{dataset_id}").method("get").create(); - -export const fetchDatasetStorage = fetcher.path("/api/datasets/{dataset_id}/storage").method("get").create(); - -export async function fetchDatasetDetails(params: { id: string }): Promise { - const { data } = await fetchDataset({ dataset_id: params.id, view: "detailed" }); - // We know that the server will return a DatasetDetails object because of the view parameter - // but the type system doesn't, so we have to cast it. - return data as unknown as HDADetailed; + return data as HDADetailed; } -const updateDataset = fetcher.path("/api/datasets/{dataset_id}").method("put").create(); - export async function undeleteDataset(datasetId: string) { - const { data } = await updateDataset({ - dataset_id: datasetId, - type: "dataset", - deleted: false, + const { data, error } = await GalaxyApi().PUT("/api/datasets/{dataset_id}", { + params: { + path: { dataset_id: datasetId }, + }, + body: { + deleted: false, + }, }); + if (error) { + rethrowSimple(error); + } return data; } -const deleteDataset = fetcher.path("/api/datasets/{dataset_id}").method("delete").create(); - export async function purgeDataset(datasetId: string) { - const { data } = await deleteDataset({ dataset_id: datasetId, purge: true }); + const { data, error } = await GalaxyApi().DELETE("/api/datasets/{dataset_id}", { + params: { + path: { dataset_id: datasetId }, + query: { purge: true }, + }, + }); + if (error) { + rethrowSimple(error); + } return data; } -const datasetCopy = fetcher.path("/api/histories/{history_id}/contents/{type}s").method("post").create(); -type HistoryContentsArgs = FetchArgType; +type CopyDatasetParamsType = GalaxyApiPaths["/api/histories/{history_id}/contents/{type}s"]["post"]["parameters"]; +type CopyDatasetBodyType = components["schemas"]["CreateHistoryContentPayload"]; + export async function copyDataset( - datasetId: HistoryContentsArgs["content"], - historyId: HistoryContentsArgs["history_id"], - type: HistoryContentsArgs["type"] = "dataset", - source: HistoryContentsArgs["source"] = "hda" + datasetId: CopyDatasetBodyType["content"], + historyId: CopyDatasetParamsType["path"]["history_id"], + type: CopyDatasetParamsType["path"]["type"] = "dataset", + source: CopyDatasetBodyType["source"] = "hda" ) { - const response = await datasetCopy({ - history_id: historyId, - type, - source: source, - content: datasetId, + const { data, error } = await GalaxyApi().POST("/api/histories/{history_id}/contents/{type}s", { + params: { + path: { history_id: historyId, type }, + }, + body: { + source, + content: datasetId, + // TODO: Investigate. These should be optional, but the API requires explicit null values? + type, + copy_elements: null, + hide_source_items: null, + instance_type: null, + }, }); - return response.data; + if (error) { + rethrowSimple(error); + } + return data; } export function getCompositeDatasetLink(historyDatasetId: string, path: string) { @@ -88,10 +82,12 @@ export function getCompositeDatasetLink(historyDatasetId: string, path: string) } export type DatasetExtraFiles = components["schemas"]["DatasetExtraFiles"]; -export const fetchDatasetExtraFiles = fetcher.path("/api/datasets/{dataset_id}/extra_files").method("get").create(); export async function fetchDatasetAttributes(datasetId: string) { const { data } = await axios.get(withPrefix(`/dataset/get_edit?dataset_id=${datasetId}`)); return data; } + +export type HistoryContentType = components["schemas"]["HistoryContentType"]; +export type HistoryContentSource = components["schemas"]["HistoryContentSource"]; diff --git a/client/src/api/datatypes.ts b/client/src/api/datatypes.ts index fde4da5b529be3e29c0aef26655962afc1f0f188..0b6d30a71c6057166f1288e8215316b40c5c554b 100644 --- a/client/src/api/datatypes.ts +++ b/client/src/api/datatypes.ts @@ -1,13 +1,3 @@ -import { fetcher } from "@/api/schema"; +import { type components } from "@/api"; -export const datatypesFetcher = fetcher.path("/api/datatypes").method("get").create(); - -export const edamFormatsFetcher = fetcher.path("/api/datatypes/edam_formats/detailed").method("get").create(); -export const edamDataFetcher = fetcher.path("/api/datatypes/edam_data/detailed").method("get").create(); - -const typesAndMappingsFetcher = fetcher.path("/api/datatypes/types_and_mapping").method("get").create(); - -export async function fetchDatatypesAndMappings(upload_only = true) { - const { data } = await typesAndMappingsFetcher({ upload_only }); - return data; -} +export type CompositeFileInfo = components["schemas"]["CompositeFileInfo"]; diff --git a/client/src/api/dbKeys.ts b/client/src/api/dbKeys.ts index ec152513788392dcf224c5fa195b32b7f829050b..9becc5f4af5c60baaf4fde5e52e4495cbd8a938e 100644 --- a/client/src/api/dbKeys.ts +++ b/client/src/api/dbKeys.ts @@ -3,6 +3,13 @@ * but now it is used to get the list of more generic "dbkeys". */ -import { fetcher } from "@/api/schema"; +import { GalaxyApi } from "@/api"; +import { rethrowSimple } from "@/utils/simple-error"; -export const dbKeysFetcher = fetcher.path("/api/genomes").method("get").create(); +export async function getDbKeys() { + const { data, error } = await GalaxyApi().GET("/api/genomes"); + if (error) { + rethrowSimple(error); + } + return data; +} diff --git a/client/src/api/fileSources.ts b/client/src/api/fileSources.ts index 68935db4573f0d600fe8aea7d4090f7c34440815..eb984b938e8f47778e90c87ce647e5b286393eec 100644 --- a/client/src/api/fileSources.ts +++ b/client/src/api/fileSources.ts @@ -4,3 +4,4 @@ export type FileSourceTemplateSummary = components["schemas"]["FileSourceTemplat export type FileSourceTemplateSummaries = FileSourceTemplateSummary[]; export type UserFileSourceModel = components["schemas"]["UserFileSourceModel"]; +export type FileSourceTypes = UserFileSourceModel["type"]; diff --git a/client/src/api/forms.ts b/client/src/api/forms.ts deleted file mode 100644 index 04f19169d5a143368abd66c2a079728e94cabebe..0000000000000000000000000000000000000000 --- a/client/src/api/forms.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { fetcher } from "@/api/schema"; - -export const deleteForm = fetcher.path("/api/forms/{id}").method("delete").create(); -export const undeleteForm = fetcher.path("/api/forms/{id}/undelete").method("post").create(); diff --git a/client/src/api/groups.ts b/client/src/api/groups.ts deleted file mode 100644 index e795ccfdbf476020f2bb6163f55267005dc537b8..0000000000000000000000000000000000000000 --- a/client/src/api/groups.ts +++ /dev/null @@ -1,13 +0,0 @@ -import axios from "axios"; - -import { components, fetcher } from "@/api/schema"; - -type GroupModel = components["schemas"]["GroupModel"]; -export async function getAllGroups(): Promise { - const { data } = await axios.get("/api/groups"); - return data; -} - -export const deleteGroup = fetcher.path("/api/groups/{group_id}").method("delete").create(); -export const purgeGroup = fetcher.path("/api/groups/{group_id}/purge").method("post").create(); -export const undeleteGroup = fetcher.path("/api/groups/{group_id}/undelete").method("post").create(); diff --git a/client/src/api/histories.archived.ts b/client/src/api/histories.archived.ts index 518ab55a72a73c6df3481080170decf70940d590..e580a94207ffc7a2453a6b08d83d7d0b97236595 100644 --- a/client/src/api/histories.archived.ts +++ b/client/src/api/histories.archived.ts @@ -1,13 +1,13 @@ -import type { FetchArgType } from "openapi-typescript-fetch"; - -import { type components, fetcher } from "@/api/schema"; +import { type components, GalaxyApi, type GalaxyApiPaths } from "@/api"; +import { rethrowSimple } from "@/utils/simple-error"; export type ArchivedHistorySummary = components["schemas"]["ArchivedHistorySummary"]; export type ArchivedHistoryDetailed = components["schemas"]["ArchivedHistoryDetailed"]; -export type AsyncTaskResultSummary = components["schemas"]["AsyncTaskResultSummary"]; +export type AnyArchivedHistory = ArchivedHistorySummary | ArchivedHistoryDetailed; -type GetArchivedHistoriesParams = FetchArgType; -type SerializationOptions = Pick; +type MaybeArchivedHistoriesQueryParams = GalaxyApiPaths["/api/histories/archived"]["get"]["parameters"]["query"]; +type ArchivedHistoriesQueryParams = Exclude; +type SerializationOptions = Pick; interface FilterOptions { query?: string; @@ -26,97 +26,44 @@ interface SortingOptions { interface GetArchivedHistoriesOptions extends FilterOptions, PaginationOptions, SortingOptions, SerializationOptions {} interface ArchivedHistoriesResult { - histories: ArchivedHistorySummary[] | ArchivedHistoryDetailed[]; + histories: AnyArchivedHistory[]; totalMatches: number; } const DEFAULT_PAGE_SIZE = 10; -const getArchivedHistories = fetcher.path("/api/histories/archived").method("get").create(); - /** * Get a list of archived histories. */ -export async function fetchArchivedHistories( - options: GetArchivedHistoriesOptions = {} -): Promise { +export async function fetchArchivedHistories(options: GetArchivedHistoriesOptions): Promise { const params = optionsToApiParams(options); - const { data, headers } = await getArchivedHistories(params); - const totalMatches = parseInt(headers.get("total_matches") ?? "0"); + + const { response, data, error } = await GalaxyApi().GET("/api/histories/archived", { + params: { + query: params, + }, + }); + + if (error) { + rethrowSimple(error); + } + + const totalMatches = parseInt(response.headers.get("total_matches") ?? "0"); if (params.view === "detailed") { return { histories: data as ArchivedHistoryDetailed[], totalMatches, }; } + return { histories: data as ArchivedHistorySummary[], totalMatches, }; } -const postArchiveHistory = fetcher.path("/api/histories/{history_id}/archive").method("post").create(); - -/** - * Archive a history. - * @param historyId The history to archive - * @param archiveExportId The optional archive export record to associate. This can be used to restore a snapshot copy of the history in the future. - * @param purgeHistory Whether to purge the history after archiving. Can only be used in combination with an archive export record. - * @returns The archived history summary. - */ -export async function archiveHistory( - historyId: string, - archiveExportId?: string, - purgeHistory?: boolean -): Promise { - const { data } = await postArchiveHistory({ - history_id: historyId, - archive_export_id: archiveExportId, - purge_history: purgeHistory, - }); - return data as ArchivedHistorySummary; -} - -const putUnarchiveHistory = fetcher - .path("/api/histories/{history_id}/archive/restore") - .method("put") - // @ts-ignore: workaround for optional query parameters in PUT. More info here https://github.com/ajaishankar/openapi-typescript-fetch/pull/55 - .create({ force: undefined }); - -/** - * Unarchive/restore a history. - * @param historyId The history to unarchive. - * @param force Whether to force un-archiving for purged histories. - * @returns The restored history summary. - */ -export async function unarchiveHistory(historyId: string, force?: boolean): Promise { - const { data } = await putUnarchiveHistory({ history_id: historyId, force }); - return data as ArchivedHistorySummary; -} - -const reimportHistoryFromStore = fetcher.path("/api/histories/from_store_async").method("post").create(); - -/** - * Reimport an archived history as a new copy from the associated export record. - * - * @param archivedHistory The archived history to reimport. It must have an associated export record. - * @returns The async task result summary to track the reimport progress. - */ -export async function reimportArchivedHistoryFromExportRecord( - archivedHistory: ArchivedHistorySummary -): Promise { - if (!archivedHistory.export_record_data) { - throw new Error("The archived history does not have an associated export record."); - } - const { data } = await reimportHistoryFromStore({ - model_store_format: archivedHistory.export_record_data.model_store_format, - store_content_uri: archivedHistory.export_record_data.target_uri, - }); - return data as AsyncTaskResultSummary; -} - -function optionsToApiParams(options: GetArchivedHistoriesOptions): GetArchivedHistoriesParams { - const params: GetArchivedHistoriesParams = {}; +function optionsToApiParams(options: GetArchivedHistoriesOptions): ArchivedHistoriesQueryParams { + const params: ArchivedHistoriesQueryParams = {}; if (options.query) { params.q = ["name-contains"]; params.qv = [options.query]; diff --git a/client/src/api/histories.export.ts b/client/src/api/histories.export.ts index 8a8e11f6a8be445b4e5b9e15d618e399f3456ce8..19f54919b68340d6b931947510d8e3f0414edc81 100644 --- a/client/src/api/histories.export.ts +++ b/client/src/api/histories.export.ts @@ -1,17 +1,7 @@ -import type { components } from "@/api/schema"; -import { fetcher } from "@/api/schema"; -import { - type ExportRecord, - ExportRecordModel, - type ObjectExportTaskResponse, -} from "@/components/Common/models/exportRecordModel"; +import { GalaxyApi, type ModelStoreFormat, type ObjectExportTaskResponse } from "@/api"; +import { type ExportRecord, ExportRecordModel } from "@/components/Common/models/exportRecordModel"; import { DEFAULT_EXPORT_PARAMS } from "@/composables/shortTermStorage"; - -type ModelStoreFormat = components["schemas"]["ModelStoreFormat"]; - -const _getExportRecords = fetcher.path("/api/histories/{history_id}/exports").method("get").create(); -const _exportToFileSource = fetcher.path("/api/histories/{history_id}/write_store").method("post").create(); -const _importFromStoreAsync = fetcher.path("/api/histories/from_store_async").method("post").create(); +import { rethrowSimple } from "@/utils/simple-error"; /** * A list of objects with the available export formats IDs and display names. @@ -28,17 +18,20 @@ export const AVAILABLE_EXPORT_FORMATS: { id: ModelStoreFormat; name: string }[] * @returns a promise with a list of export records associated with the given history. */ export async function fetchHistoryExportRecords(historyId: string) { - const response = await _getExportRecords( - { - history_id: historyId, - }, - { - headers: { - Accept: "application/vnd.galaxy.task.export+json", + const { data, error } = await GalaxyApi().GET("/api/histories/{history_id}/exports", { + params: { + path: { history_id: historyId }, + header: { + accept: "application/vnd.galaxy.task.export+json", }, - } - ); - return response.data.map((item: unknown) => new ExportRecordModel(item as ObjectExportTaskResponse)); + }, + }); + + if (error) { + rethrowSimple(error); + } + + return data.map((item) => new ExportRecordModel(item as ObjectExportTaskResponse)); } /** @@ -47,7 +40,7 @@ export async function fetchHistoryExportRecords(historyId: string) { * @param exportDirectory the output directory in the file source * @param fileName the name of the output archive * @param exportParams additional parameters to configure the export - * @returns A promise with the request response + * @returns A promise with the async task response that can be used to track the export progress. */ export async function exportHistoryToFileSource( historyId: string, @@ -57,24 +50,42 @@ export async function exportHistoryToFileSource( ) { const exportDirectoryUri = `${exportDirectory}/${fileName}.${exportParams.modelStoreFormat}`; - return _exportToFileSource({ - history_id: historyId, - target_uri: exportDirectoryUri, - model_store_format: exportParams.modelStoreFormat as ModelStoreFormat, - include_files: exportParams.includeFiles, - include_deleted: exportParams.includeDeleted, - include_hidden: exportParams.includeHidden, + const { data, error } = await GalaxyApi().POST("/api/histories/{history_id}/write_store", { + params: { + path: { history_id: historyId }, + }, + body: { + target_uri: exportDirectoryUri, + model_store_format: exportParams.modelStoreFormat, + include_files: exportParams.includeFiles, + include_deleted: exportParams.includeDeleted, + include_hidden: exportParams.includeHidden, + }, }); + + if (error) { + rethrowSimple(error); + } + + return data; } /** * Imports a new history using the information stored in the given export record. * @param record The export record to be imported - * @returns A promise with the request response + * @returns A promise with the async task response that can be used to track the import progress. */ export async function reimportHistoryFromRecord(record: ExportRecord) { - return _importFromStoreAsync({ - store_content_uri: record.importUri, - model_store_format: record.modelStoreFormat, + const { data, error } = await GalaxyApi().POST("/api/histories/from_store_async", { + body: { + store_content_uri: record.importUri, + model_store_format: record.modelStoreFormat, + }, }); + + if (error) { + rethrowSimple(error); + } + + return data; } diff --git a/client/src/api/histories.ts b/client/src/api/histories.ts index ef0aeaa5df0b9e58516545af191a672a569dd19d..ed10bb8efb1f03c76a39f7756ad5d87701d976f0 100644 --- a/client/src/api/histories.ts +++ b/client/src/api/histories.ts @@ -1,16 +1,3 @@ -import { fetcher } from "@/api/schema"; +import { type components } from "@/api"; -export const historiesFetcher = fetcher.path("/api/histories").method("get").create(); -export const archivedHistoriesFetcher = fetcher.path("/api/histories/archived").method("get").create(); -export const deleteHistory = fetcher.path("/api/histories/{history_id}").method("delete").create(); -export const deleteHistories = fetcher.path("/api/histories/batch/delete").method("put").create(); -export const undeleteHistory = fetcher.path("/api/histories/deleted/{history_id}/undelete").method("post").create(); -export const undeleteHistories = fetcher.path("/api/histories/batch/undelete").method("put").create(); -export const publishedHistoriesFetcher = fetcher.path("/api/histories/published").method("get").create(); -export const historyFetcher = fetcher.path("/api/histories/{history_id}").method("get").create(); -export const updateHistoryItemsInBulk = fetcher - .path("/api/histories/{history_id}/contents/bulk") - .method("put") - .create(); -export const sharing = fetcher.path("/api/histories/{history_id}/sharing").method("get").create(); -export const enableLink = fetcher.path("/api/histories/{history_id}/enable_link_access").method("put").create(); +export type HistoryContentsResult = components["schemas"]["HistoryContentsResult"]; diff --git a/client/src/api/index.test.ts b/client/src/api/index.test.ts index 42b666b2f03fcad9d597ff2574d92e71a4f17a6c..6d82145560ef34ab0343c2053862f5a33368d5c9 100644 --- a/client/src/api/index.test.ts +++ b/client/src/api/index.test.ts @@ -1,10 +1,11 @@ +import { getFakeRegisteredUser } from "@tests/test-data"; + import { type AnonymousUser, type AnyHistory, type HistorySummary, type HistorySummaryExtended, isRegisteredUser, - type User, userOwnsHistory, } from "."; @@ -12,16 +13,12 @@ const REGISTERED_USER_ID = "fake-user-id"; const ANOTHER_USER_ID = "another-fake-user-id"; const ANONYMOUS_USER_ID = null; -const REGISTERED_USER: User = { - id: REGISTERED_USER_ID, - email: "test@mail.test", - tags_used: [], - isAnonymous: false, - total_disk_usage: 0, -}; +const REGISTERED_USER = getFakeRegisteredUser({ id: REGISTERED_USER_ID }); const ANONYMOUS_USER: AnonymousUser = { isAnonymous: true, + total_disk_usage: 0, + nice_total_disk_usage: "0.0 bytes", }; const SESSIONLESS_USER = null; diff --git a/client/src/api/index.ts b/client/src/api/index.ts index d1dbc8854bbbe3162697805b71c34179a68568c0..b83042dd69964302d1c9e8d0e5140bdc8d327ad1 100644 --- a/client/src/api/index.ts +++ b/client/src/api/index.ts @@ -1,12 +1,22 @@ /** Contains type alias and definitions related to Galaxy API models. */ -import { components } from "@/api/schema"; +import { GalaxyApi } from "@/api/client"; +import { type components, type GalaxyApiPaths } from "@/api/schema"; + +export { type components, GalaxyApi, type GalaxyApiPaths }; /** * Contains minimal information about a History. */ export type HistorySummary = components["schemas"]["HistorySummary"]; +/** + * Represents the possible values for the `sort_by` parameter when querying histories. + * We can not extract this from the schema for an unknown reason. + * The desired solution would be: `GalaxyApiPaths["/api/histories"]["get"]["parameters"]["query"]["sort_by"]`. + */ +export type HistorySortByLiteral = "create_time" | "name" | "update_time" | "username" | undefined; + /** * Contains minimal information about a History with additional content stats. * This is a subset of information that can be relatively frequently updated after @@ -128,6 +138,14 @@ export interface DCECollection extends DCESummary { object: DCObject; } +/** + * DatasetCollectionElement specific type for datasets. + */ +export interface DCEDataset extends DCESummary { + element_type: "hda"; + object: HDAObject; +} + /** * Contains summary information about a HDCA (HistoryDatasetCollectionAssociation). * @@ -148,6 +166,8 @@ export type HDCADetailed = components["schemas"]["HDCADetailed"]; */ export type DCObject = components["schemas"]["DCObject"]; +export type HDAObject = components["schemas"]["HDAObject"]; + export type DatasetCollectionAttributes = components["schemas"]["DatasetCollectionAttributesResult"]; export type ConcreteObjectStoreModel = components["schemas"]["ConcreteObjectStoreModel"]; @@ -174,12 +194,16 @@ export type CollectionEntry = HDCASummary | SubCollection; /** * Returns true if the given entry is a top level HDCA and false for sub-collections. */ -export function isHDCA(entry?: CollectionEntry): entry is HDCASummary { +export function isHDCA(entry?: HistoryItemSummary | CollectionEntry): entry is HDCASummary { return ( entry !== undefined && "history_content_type" in entry && entry.history_content_type === "dataset_collection" ); } +export function isDCE(item: object): item is DCESummary { + return item && "element_type" in item; +} + /** * Returns true if the given element of a collection is a DatasetCollection. */ @@ -187,6 +211,13 @@ export function isCollectionElement(element: DCESummary): element is DCECollecti return element.element_type === "dataset_collection"; } +/** + * Returns true if the given element of a collection is a Dataset. + */ +export function isDatasetElement(element: DCESummary): element is DCEDataset { + return element.element_type === "hda"; +} + /** * Returns true if the given dataset entry is an instance of DatasetDetails. */ @@ -215,36 +246,31 @@ export function isHistoryItem(item: object): item is HistoryItemSummary { return item && "history_content_type" in item; } -type QuotaUsageResponse = components["schemas"]["UserQuotaUsage"]; +type RegisteredUserModel = components["schemas"]["DetailedUserModel"]; +type AnonymousUserModel = components["schemas"]["AnonUserModel"]; +type UserModel = RegisteredUserModel | AnonymousUserModel; -/** Represents a registered user.**/ -export interface User extends QuotaUsageResponse { - id: string; - email: string; - tags_used: string[]; +export interface RegisteredUser extends RegisteredUserModel { isAnonymous: false; - is_admin?: boolean; - username?: string; } -export interface AnonymousUser { - id?: string; +export interface AnonymousUser extends AnonymousUserModel { isAnonymous: true; - is_admin?: false; - username?: string; } -export type GenericUser = User | AnonymousUser; - /** Represents any user, including anonymous users or session-less (null) users.**/ -export type AnyUser = GenericUser | null; +export type AnyUser = RegisteredUser | AnonymousUser | null; + +export function isRegisteredUser(user: AnyUser | UserModel): user is RegisteredUser { + return user !== null && "email" in user; +} -export function isRegisteredUser(user: AnyUser): user is User { - return user !== null && !user?.isAnonymous; +export function isAnonymousUser(user: AnyUser | UserModel): user is AnonymousUser { + return user !== null && !isRegisteredUser(user); } -export function isAnonymousUser(user: AnyUser): user is AnonymousUser { - return user !== null && user.isAnonymous; +export function isAdminUser(user: AnyUser | UserModel): user is RegisteredUser { + return isRegisteredUser(user) && user.is_admin; } export function userOwnsHistory(user: AnyUser, history: AnyHistory) { @@ -274,3 +300,16 @@ export type DatasetTransform = { action: "to_posix_lines" | "spaces_to_tabs" | "datatype_groom"; datatype_ext: "bam" | "qname_sorted.bam" | "qname_input_sorted.bam" | "isa-tab" | "isa-json"; }; + +/** + * Base type for all exceptions returned by the API. + */ +export type MessageException = components["schemas"]["MessageExceptionModel"]; + +export type StoreExportPayload = components["schemas"]["StoreExportPayload"]; +export type ModelStoreFormat = components["schemas"]["ModelStoreFormat"]; +export type ObjectExportTaskResponse = components["schemas"]["ObjectExportTaskResponse"]; +export type ExportObjectRequestMetadata = components["schemas"]["ExportObjectRequestMetadata"]; +export type ExportObjectResultMetadata = components["schemas"]["ExportObjectResultMetadata"]; + +export type AsyncTaskResultSummary = components["schemas"]["AsyncTaskResultSummary"]; diff --git a/client/src/api/invocations.ts b/client/src/api/invocations.ts index 2196f9a9254ea82e348de87df93d4a75c7aaa2cf..935fa7463bff70862744a5e0d3aa7dc00bac66be 100644 --- a/client/src/api/invocations.ts +++ b/client/src/api/invocations.ts @@ -1,65 +1,14 @@ -import axios from "axios"; - -import { getAppRoot } from "@/onload"; - -import { ApiResponse, components, fetcher } from "./schema"; +import { type components } from "./schema"; export type WorkflowInvocationElementView = components["schemas"]["WorkflowInvocationElementView"]; export type WorkflowInvocationCollectionView = components["schemas"]["WorkflowInvocationCollectionView"]; export type InvocationJobsSummary = components["schemas"]["InvocationJobsResponse"]; export type InvocationStep = components["schemas"]["InvocationStep"]; +export type InvocationMessage = components["schemas"]["InvocationMessageResponseUnion"]; export type StepJobSummary = | components["schemas"]["InvocationStepJobsResponseStepModel"] | components["schemas"]["InvocationStepJobsResponseJobModel"] | components["schemas"]["InvocationStepJobsResponseCollectionJobsModel"]; -export const invocationsFetcher = fetcher.path("/api/invocations").method("get").create(); - -export const stepJobsSummaryFetcher = fetcher - .path("/api/invocations/{invocation_id}/step_jobs_summary") - .method("get") - .create(); - -export type WorkflowInvocation = WorkflowInvocationElementView | WorkflowInvocationCollectionView; - -export interface WorkflowInvocationJobsSummary { - id: string; -} - -export interface WorkflowInvocationStep { - id: string; -} - -export async function invocationForJob(params: { jobId: string }): Promise { - const { data } = await axios.get(`${getAppRoot()}api/invocations?job_id=${params.jobId}`); - if (data.length > 0) { - return data[0] as WorkflowInvocation; - } else { - return null; - } -} - -// TODO: Replace these provisional functions with fetchers after https://github.com/galaxyproject/galaxy/pull/16707 is merged -export async function fetchInvocationDetails(params: { id: string }): Promise> { - const { data } = await axios.get(`${getAppRoot()}api/invocations/${params.id}`); - return { - data, - } as ApiResponse; -} - -export async function fetchInvocationJobsSummary(params: { - id: string; -}): Promise> { - const { data } = await axios.get(`${getAppRoot()}api/invocations/${params.id}/jobs_summary`); - return { - data, - } as ApiResponse; -} - -export async function fetchInvocationStep(params: { id: string }): Promise> { - const { data } = await axios.get(`${getAppRoot()}api/invocations/steps/${params.id}`); - return { - data, - } as ApiResponse; -} +export type WorkflowInvocation = components["schemas"]["WorkflowInvocationResponse"]; diff --git a/client/src/api/jobs.ts b/client/src/api/jobs.ts index 289a440e0fd9f7f823f8cb9bb230063b522716be..31e9801ddfdd12d127d632651be5ba55f625c891 100644 --- a/client/src/api/jobs.ts +++ b/client/src/api/jobs.ts @@ -1,21 +1,9 @@ -import { components, fetcher } from "@/api/schema"; +import { type components } from "@/api/schema"; export type JobDestinationParams = components["schemas"]["JobDestinationParams"]; - -export const getJobDetails = fetcher.path("/api/jobs/{job_id}").method("get").create(); - -export const jobLockStatus = fetcher.path("/api/job_lock").method("get").create(); -export const jobLockUpdate = fetcher.path("/api/job_lock").method("put").create(); - -export const fetchJobDestinationParams = fetcher.path("/api/jobs/{job_id}/destination_params").method("get").create(); - -export const jobsFetcher = fetcher.path("/api/jobs").method("get").create(); - export type ShowFullJobResponse = components["schemas"]["ShowFullJobResponse"]; +export type JobBaseModel = components["schemas"]["JobBaseModel"]; export type JobDetails = components["schemas"]["ShowFullJobResponse"] | components["schemas"]["EncodedJobDetails"]; -export const fetchJobDetails = fetcher.path("/api/jobs/{job_id}").method("get").create(); - export type JobInputSummary = components["schemas"]["JobInputSummary"]; -export const fetchJobCommonProblems = fetcher.path("/api/jobs/{job_id}/common_problems").method("get").create(); - -export const postJobErrorReport = fetcher.path("/api/jobs/{job_id}/error").method("post").create(); +export type JobDisplayParametersSummary = components["schemas"]["JobDisplayParametersSummary"]; +export type JobMetric = components["schemas"]["JobMetric"]; diff --git a/client/src/api/landings.ts b/client/src/api/landings.ts new file mode 100644 index 0000000000000000000000000000000000000000..03bbfc01d84058bbaf1b2af6fe94f213d4959ddc --- /dev/null +++ b/client/src/api/landings.ts @@ -0,0 +1,4 @@ +import { type components } from "@/api/schema"; + +export type ClaimLandingPayload = components["schemas"]["ClaimLandingPayload"]; +export type WorkflowLandingRequest = components["schemas"]["WorkflowLandingRequest"]; diff --git a/client/src/api/notifications.broadcast.ts b/client/src/api/notifications.broadcast.ts index cbea28ada102831e38401dde67e6ae3d80250ef0..170de0619443780ec5bdd086a9c5a845cbe81579 100644 --- a/client/src/api/notifications.broadcast.ts +++ b/client/src/api/notifications.broadcast.ts @@ -1,29 +1,43 @@ -import { type components, fetcher } from "@/api/schema"; +import { GalaxyApi, type GalaxyApiPaths } from "@/api"; +import { rethrowSimple } from "@/utils/simple-error"; -type BroadcastNotificationResponse = components["schemas"]["BroadcastNotificationResponse"]; +// TODO: Move these functions to broadcastStore and refactor other calls to go through the store -const broadcastFetcher = fetcher.path("/api/notifications/broadcast/{notification_id}").method("get").create(); -export async function fetchBroadcast(id: string): Promise { - const { data } = await broadcastFetcher({ notification_id: id }); +export async function fetchAllBroadcasts() { + const { data, error } = await GalaxyApi().GET("/api/notifications/broadcast"); + if (error) { + rethrowSimple(error); + } return data; } -const broadcastsFetcher = fetcher.path("/api/notifications/broadcast").method("get").create(); -export async function fetchAllBroadcasts(): Promise { - const { data } = await broadcastsFetcher({}); - return data; -} +type CreateBroadcastNotificationRequestBody = + GalaxyApiPaths["/api/notifications/broadcast"]["post"]["requestBody"]["content"]["application/json"]; +export async function createBroadcast(broadcast: CreateBroadcastNotificationRequestBody) { + const { data, error } = await GalaxyApi().POST("/api/notifications/broadcast", { + body: broadcast, + }); + + if (error) { + rethrowSimple(error); + } -const postBroadcast = fetcher.path("/api/notifications/broadcast").method("post").create(); -type BroadcastNotificationCreateRequest = components["schemas"]["BroadcastNotificationCreateRequest"]; -export async function createBroadcast(broadcast: BroadcastNotificationCreateRequest) { - const { data } = await postBroadcast(broadcast); return data; } -const putBroadcast = fetcher.path("/api/notifications/broadcast/{notification_id}").method("put").create(); -type NotificationBroadcastUpdateRequest = components["schemas"]["NotificationBroadcastUpdateRequest"]; -export async function updateBroadcast(id: string, broadcast: NotificationBroadcastUpdateRequest) { - const { data } = await putBroadcast({ notification_id: id, ...broadcast }); +type UpdateBroadcastNotificationRequestBody = + GalaxyApiPaths["/api/notifications/broadcast/{notification_id}"]["put"]["requestBody"]["content"]["application/json"]; +export async function updateBroadcast(id: string, broadcast: UpdateBroadcastNotificationRequestBody) { + const { data, error } = await GalaxyApi().PUT("/api/notifications/broadcast/{notification_id}", { + params: { + path: { notification_id: id }, + }, + body: broadcast, + }); + + if (error) { + rethrowSimple(error); + } + return data; } diff --git a/client/src/api/notifications.preferences.ts b/client/src/api/notifications.preferences.ts deleted file mode 100644 index 8509d7cd269139e64d520ade8d8eda84075fccb1..0000000000000000000000000000000000000000 --- a/client/src/api/notifications.preferences.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { type components, fetcher } from "@/api/schema"; - -type UserNotificationPreferences = components["schemas"]["UserNotificationPreferences"]; - -export interface UserNotificationPreferencesExtended extends UserNotificationPreferences { - supportedChannels: string[]; -} - -const getNotificationsPreferences = fetcher.path("/api/notifications/preferences").method("get").create(); -export async function getNotificationsPreferencesFromServer(): Promise { - const { data, headers } = await getNotificationsPreferences({}); - return { - ...data, - supportedChannels: headers.get("supported-channels")?.split(",") ?? [], - }; -} - -type UpdateUserNotificationPreferencesRequest = components["schemas"]["UpdateUserNotificationPreferencesRequest"]; -const updateNotificationsPreferences = fetcher.path("/api/notifications/preferences").method("put").create(); -export async function updateNotificationsPreferencesOnServer(request: UpdateUserNotificationPreferencesRequest) { - const { data } = await updateNotificationsPreferences(request); - return data; -} diff --git a/client/src/api/notifications.ts b/client/src/api/notifications.ts index b5724618e3a5648cdcc28d416ed259fa5cd39fe1..ea35af9e3582b72e5059a7e5308cf0c525f20006 100644 --- a/client/src/api/notifications.ts +++ b/client/src/api/notifications.ts @@ -1,6 +1,9 @@ -import { type components, fetcher } from "@/api/schema"; +import { type components } from "@/api/schema"; export type BaseUserNotification = components["schemas"]["UserNotificationResponse"]; +export type UserNotificationPreferences = components["schemas"]["UserNotificationPreferences"]["preferences"]; +export type NotificationChannel = keyof components["schemas"]["NotificationChannelSettings"]; +export type NotificationCategory = components["schemas"]["PersonalNotificationCategory"]; export interface MessageNotification extends BaseUserNotification { category: "message"; @@ -12,61 +15,26 @@ export interface SharedItemNotification extends BaseUserNotification { content: components["schemas"]["NewSharedItemNotificationContent"]; } -export type UserNotification = MessageNotification | SharedItemNotification; - -export type NotificationChanges = components["schemas"]["UserNotificationUpdateRequest"]; - -export type UserNotificationsBatchUpdateRequest = components["schemas"]["UserNotificationsBatchUpdateRequest"]; - -export type NotificationVariants = components["schemas"]["NotificationVariant"]; - -export type NewSharedItemNotificationContentItemType = - components["schemas"]["NewSharedItemNotificationContent"]["item_type"]; - -type UserNotificationUpdateRequest = components["schemas"]["UserNotificationUpdateRequest"]; - -export type NotificationCreateRequest = components["schemas"]["NotificationCreateRequest"]; - -type NotificationResponse = components["schemas"]["NotificationResponse"]; +type NotificationCreateData = components["schemas"]["NotificationCreateData"]; -const getNotification = fetcher.path("/api/notifications/{notification_id}").method("get").create(); - -export async function loadNotification(id: string): Promise { - const { data } = await getNotification({ notification_id: id }); - return data; -} - -const postNotification = fetcher.path("/api/notifications").method("post").create(); - -export async function sendNotification(notification: NotificationCreateRequest) { - const { data } = await postNotification(notification); - return data; +export interface MessageNotificationCreateData extends NotificationCreateData { + category: "message"; + content: components["schemas"]["MessageNotificationContent"]; } -const putNotification = fetcher.path("/api/notifications/{notification_id}").method("put").create(); +export type NotificationCreateRequest = components["schemas"]["NotificationCreateRequest"]; -export async function updateNotification(id: string, notification: UserNotificationUpdateRequest) { - const { data } = await putNotification({ notification_id: id, ...notification }); - return data; +export interface MessageNotificationCreateRequest extends NotificationCreateRequest { + notification: MessageNotificationCreateData; } -const getNotifications = fetcher.path("/api/notifications").method("get").create(); - -export async function loadNotificationsFromServer(): Promise { - const { data } = await getNotifications({}); - return data as UserNotification[]; -} +export type UserNotification = MessageNotification | SharedItemNotification; -const putBatchNotifications = fetcher.path("/api/notifications").method("put").create(); +export type NotificationChanges = components["schemas"]["UserNotificationUpdateRequest"]; -export async function updateBatchNotificationsOnServer(request: UserNotificationsBatchUpdateRequest) { - const { data } = await putBatchNotifications(request); - return data; -} +export type UserNotificationsBatchUpdateRequest = components["schemas"]["UserNotificationsBatchUpdateRequest"]; -const getNotificationStatus = fetcher.path("/api/notifications/status").method("get").create(); +export type NotificationVariants = components["schemas"]["NotificationVariant"]; -export async function loadNotificationsStatus(since: Date) { - const { data } = await getNotificationStatus({ since: since.toISOString().replace("Z", "") }); - return data; -} +export type NewSharedItemNotificationContentItemType = + components["schemas"]["NewSharedItemNotificationContent"]["item_type"]; diff --git a/client/src/api/objectStores.templates.ts b/client/src/api/objectStores.templates.ts new file mode 100644 index 0000000000000000000000000000000000000000..0bc65dde204aa55693867290cc443ba485b6720a --- /dev/null +++ b/client/src/api/objectStores.templates.ts @@ -0,0 +1,4 @@ +import type { components } from "@/api/schema"; + +export type ObjectStoreTemplateSummary = components["schemas"]["ObjectStoreTemplateSummary"]; +export type ObjectStoreTemplateSummaries = ObjectStoreTemplateSummary[]; diff --git a/client/src/api/objectStores.ts b/client/src/api/objectStores.ts index b6c1f6c59f7d1320ffc89370e4cc4bdeebde9cbe..376d75d8e54abffdf4a51f94c5055686987e2ea5 100644 --- a/client/src/api/objectStores.ts +++ b/client/src/api/objectStores.ts @@ -1,37 +1,57 @@ -import { fetcher } from "@/api/schema"; -import type { components } from "@/api/schema/schema"; +import { type components, GalaxyApi } from "@/api"; +import { rethrowSimple } from "@/utils/simple-error"; export type UserConcreteObjectStore = components["schemas"]["UserConcreteObjectStoreModel"]; -export type ObjectStoreTemplateType = "aws_s3" | "azure_blob" | "boto3" | "disk" | "generic_s3"; - -const getObjectStores = fetcher.path("/api/object_stores").method("get").create(); +export type ObjectStoreTemplateType = components["schemas"]["UserConcreteObjectStoreModel"]["type"]; export async function getSelectableObjectStores() { - const { data } = await getObjectStores({ selectable: true }); + const { data, error } = await GalaxyApi().GET("/api/object_stores", { + params: { + query: { selectable: true }, + }, + }); + + if (error) { + rethrowSimple(error); + } + return data; } -const getObjectStore = fetcher.path("/api/object_stores/{object_store_id}").method("get").create(); -const getUserObjectStoreInstance = fetcher - .path("/api/object_store_instances/{user_object_store_id}") - .method("get") - .create(); - export async function getObjectStoreDetails(id: string) { if (id.startsWith("user_objects://")) { const userObjectStoreId = id.substring("user_objects://".length); - const { data } = await getUserObjectStoreInstance({ user_object_store_id: userObjectStoreId }); + + const { data, error } = await GalaxyApi().GET("/api/object_store_instances/{uuid}", { + params: { path: { uuid: userObjectStoreId } }, + }); + + if (error) { + rethrowSimple(error); + } + return data; } else { - const { data } = await getObjectStore({ object_store_id: id }); + const { data, error } = await GalaxyApi().GET("/api/object_stores/{object_store_id}", { + params: { path: { object_store_id: id } }, + }); + + if (error) { + rethrowSimple(error); + } + return data; } } -const updateObjectStoreFetcher = fetcher.path("/api/datasets/{dataset_id}/object_store_id").method("put").create(); - export async function updateObjectStore(datasetId: string, objectStoreId: string) { - const { data } = await updateObjectStoreFetcher({ dataset_id: datasetId, object_store_id: objectStoreId }); - return data; + const { error } = await GalaxyApi().PUT("/api/datasets/{dataset_id}/object_store_id", { + params: { path: { dataset_id: datasetId } }, + body: { object_store_id: objectStoreId }, + }); + + if (error) { + rethrowSimple(error); + } } diff --git a/client/src/api/pages.ts b/client/src/api/pages.ts deleted file mode 100644 index 89e89d2e8940ef6440be591dc9cceb699320617c..0000000000000000000000000000000000000000 --- a/client/src/api/pages.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { fetcher } from "@/api/schema"; - -/** Page request helper **/ -const deletePageById = fetcher.path("/api/pages/{id}").method("delete").create(); -export async function deletePage(itemId: string): Promise { - await deletePageById({ - id: itemId, - }); -} diff --git a/client/src/api/quotas.ts b/client/src/api/quotas.ts deleted file mode 100644 index f164fcf80632a5751b190954f4fa95def21dd6c5..0000000000000000000000000000000000000000 --- a/client/src/api/quotas.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { fetcher } from "@/api/schema"; - -export const deleteQuota = fetcher.path("/api/quotas/{id}").method("delete").create(); -export const purgeQuota = fetcher.path("/api/quotas/{id}/purge").method("post").create(); -export const undeleteQuota = fetcher.path("/api/quotas/deleted/{id}/undelete").method("post").create(); diff --git a/client/src/api/remoteFiles.ts b/client/src/api/remoteFiles.ts index ff149655c0375cb1c49cf8c8b1a35bcacceaf38e..5b014a75199f3d2f353c5737a6f00777b0a1b150 100644 --- a/client/src/api/remoteFiles.ts +++ b/client/src/api/remoteFiles.ts @@ -1,5 +1,5 @@ -import type { components } from "@/api/schema"; -import { fetcher } from "@/api/schema/fetcher"; +import { type components, GalaxyApi } from "@/api"; +import { rethrowSimple } from "@/utils/simple-error"; /** The browsing mode: * - `file` - allows to select files or directories contained in a source (default) @@ -28,24 +28,30 @@ export interface FilterFileSourcesOptions { exclude?: FileSourcePluginKind[]; } -const remoteFilesPluginsFetcher = fetcher.path("/api/remote_files/plugins").method("get").create(); - /** * Get the list of available file sources from the server that can be browsed. * @param options The options to filter the file sources. * @returns The list of available (browsable) file sources from the server. */ export async function fetchFileSources(options: FilterFileSourcesOptions = {}): Promise { - const { data } = await remoteFilesPluginsFetcher({ - browsable_only: true, - include_kind: options.include, - exclude_kind: options.exclude, + const { data, error } = await GalaxyApi().GET("/api/remote_files/plugins", { + params: { + query: { + browsable_only: true, + include_kind: options.include, + exclude_kind: options.exclude, + }, + }, }); + + if (error) { + rethrowSimple(error); + } + + // Since we specified browsable_only in the query, we can safely cast the data to the expected type. return data as BrowsableFilesSourcePlugin[]; } -export const remoteFilesFetcher = fetcher.path("/api/remote_files").method("get").create(); - export interface BrowseRemoteFilesResult { entries: RemoteEntry[]; totalMatches: number; @@ -71,28 +77,28 @@ export async function browseRemoteFiles( query?: string, sortBy?: string ): Promise { - const { data, headers } = await remoteFilesFetcher({ - target: uri, - recursive: isRecursive, - writeable, - limit, - offset, - query, - sort_by: sortBy, + const { response, data, error } = await GalaxyApi().GET("/api/remote_files", { + params: { + query: { + format: "uri", + target: uri, + recursive: isRecursive, + writeable, + limit, + offset, + query, + sort_by: sortBy, + }, + }, }); - const totalMatches = parseInt(headers.get("total_matches") ?? "0"); - return { entries: data as RemoteEntry[], totalMatches }; -} -const createEntry = fetcher.path("/api/remote_files").method("post").create(); + if (error) { + rethrowSimple(error); + } -/** - * Create a new entry (directory/record) on the given file source URI. - * @param uri The file source URI to create the entry in. - * @param name The name of the entry to create. - * @returns The created entry details. - */ -export async function createRemoteEntry(uri: string, name: string): Promise { - const { data } = await createEntry({ target: uri, name: name }); - return data; + const totalMatches = parseInt(response.headers.get("total_matches") ?? "0"); + + // Since we specified format=uri in the query, we can safely cast the data to the expected type. + const entries = data as RemoteEntry[]; + return { entries, totalMatches }; } diff --git a/client/src/api/roles.ts b/client/src/api/roles.ts deleted file mode 100644 index 4667ca53a2b5bf1a5b491ed0710569bc0fb290a5..0000000000000000000000000000000000000000 --- a/client/src/api/roles.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { fetcher } from "@/api/schema"; - -const getRoles = fetcher.path("/api/roles").method("get").create(); -export async function getAllRoles() { - const { data } = await getRoles({}); - return data; -} - -export const deleteRole = fetcher.path("/api/roles/{id}").method("delete").create(); -export const purgeRole = fetcher.path("/api/roles/{id}/purge").method("post").create(); -export const undeleteRole = fetcher.path("/api/roles/{id}/undelete").method("post").create(); diff --git a/client/src/api/schema/__mocks__/fetcher.ts b/client/src/api/schema/__mocks__/fetcher.ts deleted file mode 100644 index 56c8a56ed3ef6b3e0e6f4661c5a26caa967650a4..0000000000000000000000000000000000000000 --- a/client/src/api/schema/__mocks__/fetcher.ts +++ /dev/null @@ -1,95 +0,0 @@ -import type { paths } from "@/api/schema"; - -jest.mock("@/api/schema", () => ({ - fetcher: mockFetcher, -})); - -jest.mock("@/api/schema/fetcher", () => ({ - fetcher: mockFetcher, -})); - -type Path = keyof paths; -type Method = "get" | "post" | "put" | "delete"; - -interface MockValue { - path: Path | RegExp; - method: Method; - value: any; -} - -const mockValues: MockValue[] = []; - -function getMockReturn(path: Path, method: Method, args: any[]) { - for (let i = mockValues.length - 1; i >= 0; i--) { - const matchPath = mockValues[i]!.path; - const matchMethod = mockValues[i]!.method; - const value = mockValues[i]!.value; - - const getValue = () => { - if (typeof value === "function") { - return value(...args); - } else { - return value; - } - }; - - if (matchMethod !== method) { - continue; - } - - if (typeof matchPath === "string") { - if (matchPath === path) { - return getValue(); - } - } else { - if (path.match(matchPath)) { - return getValue(); - } - } - } - - // if no mock has been setup, never resolve API request - return new Promise(() => {}); -} - -function setMockReturn(path: Path | RegExp, method: Method, value: any) { - mockValues.push({ - path, - method, - value, - }); -} - -/** - * Mock implementation for the fetcher found in `@/api/schema/fetcher` - * - * You need to call `jest.mock("@/api/schema")` and/or `jest.mock("@/api/schema/fetcher")` - * (depending on what module the file you are testing imported) - * in order for this mock to take effect. - * - * To specify return values for the mock, use - * `mockFetcher.path(...).method(...).mock(desiredReturnValue)` - * This will cause any use of fetcher on the same path and method to receive the contents of `desiredReturnValue`. - * - * If this return value is a function, it will be ran and passed the parameters passed to the fetcher, and it's result returned. - * - * `path(...)` can take a `RegExp`, in which case any path matching the Regular Expression with a fitting method will be used. - * - * If multiple mock paths match a path, the latest defined will be used. - * - * `clearMocks()` can be used to reset all mock return values set with `.mock()` - */ -export const mockFetcher = { - path: (path: Path | RegExp) => ({ - method: (method: Method) => ({ - // prettier-ignore - create: () => async (...args: any[]) => getMockReturn(path as Path, method, args), - mock: (mockReturn: any) => setMockReturn(path, method, mockReturn), - }), - }), - clearMocks: () => { - mockValues.length = 0; - }, -}; - -export const fetcher = mockFetcher; diff --git a/client/src/api/schema/__mocks__/index.ts b/client/src/api/schema/__mocks__/index.ts deleted file mode 100644 index d498943ddefa7361641f6312cfa5554840581b9f..0000000000000000000000000000000000000000 --- a/client/src/api/schema/__mocks__/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { fetcher, mockFetcher } from "./fetcher"; diff --git a/client/src/api/schema/fetcher.ts b/client/src/api/schema/fetcher.ts deleted file mode 100644 index bb60436dd4f3913c9f672569f531a2730430f36d..0000000000000000000000000000000000000000 --- a/client/src/api/schema/fetcher.ts +++ /dev/null @@ -1,21 +0,0 @@ -import type { ApiResponse, Middleware } from "openapi-typescript-fetch"; -import { Fetcher } from "openapi-typescript-fetch"; - -import { getAppRoot } from "@/onload/loadConfig"; -import { rethrowSimple } from "@/utils/simple-error"; - -import type { paths } from "./schema"; - -export { ApiResponse }; - -const rethrowSimpleMiddleware: Middleware = async (url, init, next) => { - try { - const response = await next(url, init); - return response; - } catch (e) { - rethrowSimple(e); - } -}; - -export const fetcher = Fetcher.for(); -fetcher.configure({ baseUrl: getAppRoot(undefined, true), use: [rethrowSimpleMiddleware] }); diff --git a/client/src/api/schema/index.ts b/client/src/api/schema/index.ts index d931cad37dd6d077bf85bbe158cc9b5e49624840..7adf8ad41bb7c901461d7cb61182b2e6becd34ab 100644 --- a/client/src/api/schema/index.ts +++ b/client/src/api/schema/index.ts @@ -1,2 +1,3 @@ -export { type ApiResponse, fetcher } from "./fetcher"; -export type { components, operations, paths } from "./schema"; +import { type components, type paths as GalaxyApiPaths } from "./schema"; + +export { type components, type GalaxyApiPaths }; diff --git a/client/src/api/schema/mockFetcher.test.ts b/client/src/api/schema/mockFetcher.test.ts deleted file mode 100644 index e4eddd5a3f581e9b8c979fbff11d7888e58ae8a9..0000000000000000000000000000000000000000 --- a/client/src/api/schema/mockFetcher.test.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { fetcher } from "@/api/schema"; - -import { mockFetcher } from "./__mocks__/fetcher"; - -jest.mock("@/api/schema"); - -mockFetcher.path("/api/configuration").method("get").mock("CONFIGURATION"); - -mockFetcher - .path(/^.*\/histories\/.*$/) - .method("get") - .mock("HISTORY"); - -mockFetcher - .path(/\{history_id\}/) - .method("put") - .mock((param: { history_id: string }) => `param:${param.history_id}`); - -describe("mockFetcher", () => { - it("mocks fetcher", async () => { - { - const fetch = fetcher.path("/api/configuration").method("get").create(); - const value = await fetch({}); - - expect(value).toEqual("CONFIGURATION"); - } - - { - const fetch = fetcher.path("/api/histories/deleted").method("get").create(); - const value = await fetch({}); - - expect(value).toEqual("HISTORY"); - } - - { - const fetchHistory = fetcher.path("/api/histories/{history_id}/exports").method("put").create(); - const value = await fetchHistory({ history_id: "test" }); - - expect(value).toEqual("param:test"); - } - }); -}); diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index ce8d68a8db65f27a1949927febb400b8a6e59769..5c1ee689893038e62053503d0296e30e581c86fc 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -5,131 +5,383 @@ export interface paths { "/api/authenticate/baseauth": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns returns an API key for authenticated user based on BaseAuth headers. */ get: operations["get_api_key_api_authenticate_baseauth_get"]; - }; - "/api/cloud/storage/get": { - /** - * Gets given objects from a given cloud-based bucket to a Galaxy history. - * @deprecated - */ - post: operations["get_api_cloud_storage_get_post"]; - }; - "/api/cloud/storage/send": { - /** - * Sends given dataset(s) in a given history to a given cloud-based bucket. - * @deprecated - */ - post: operations["send_api_cloud_storage_send_post"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/chat": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Query + * @description We're off to ask the wizard + */ + post: operations["query_api_chat_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/chat/{job_id}/feedback": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Feedback + * @description Provide feedback on the chatbot response. + */ + put: operations["feedback_api_chat__job_id__feedback_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/configuration": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return an object containing exposable configuration settings * @description Return an object containing exposable configuration settings. * - * A more complete list is returned if the user is an admin. - * Pass in `view` and a comma-seperated list of keys to control which - * configuration settings are returned. + * A more complete list is returned if the user is an admin. + * Pass in `view` and a comma-seperated list of keys to control which + * configuration settings are returned. */ get: operations["index_api_configuration_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/configuration/decode/{encoded_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Decode a given id * @description Decode a given id. */ get: operations["decode_id_api_configuration_decode__encoded_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/configuration/dynamic_tool_confs": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return dynamic tool configuration files * @description Return dynamic tool configuration files. */ get: operations["dynamic_tool_confs_api_configuration_dynamic_tool_confs_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/configuration/encode/{decoded_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Encode a given id * @description Decode a given id. */ get: operations["encode_id_api_configuration_encode__decoded_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/configuration/tool_lineages": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return tool lineages for tools that have them * @description Return tool lineages for tools that have them. */ get: operations["tool_lineages_api_configuration_tool_lineages_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/configuration/toolbox": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Reload the Galaxy toolbox (but not individual tools) * @description Reload the Galaxy toolbox (but not individual tools). */ put: operations["reload_toolbox_api_configuration_toolbox_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collection_element/{dce_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Content */ get: operations["content_api_dataset_collection_element__dce_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Create a new dataset collection instance. */ post: operations["create_api_dataset_collections_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections/{hdca_id}/contents/{parent_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns direct child contents of indicated dataset collection parent ID. */ get: operations["contents_dataset_collection_api_dataset_collections__hdca_id__contents__parent_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns detailed information about the given collection. */ get: operations["show_api_dataset_collections__id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections/{id}/attributes": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns `dbkey`/`extension` attributes for all the collection elements. */ get: operations["attributes_api_dataset_collections__id__attributes_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections/{id}/copy": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Copy the given collection datasets to a new collection using a new `dbkey` attribute. */ post: operations["copy_api_dataset_collections__id__copy_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections/{id}/download": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Download the content of a dataset collection as a `zip` archive. * @description Download the content of a history dataset collection as a `zip` archive - * while maintaining approximate collection structure. + * while maintaining approximate collection structure. */ get: operations["dataset_collections__download"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections/{id}/prepare_download": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Prepare an short term storage object that the collection will be downloaded to. * @description The history dataset collection will be written as a `zip` archive to the - * returned short term storage object. Progress tracking this file's creation - * can be tracked with the short_term_storage API. + * returned short term storage object. Progress tracking this file's creation + * can be tracked with the short_term_storage API. */ post: operations["prepare_collection_download_api_dataset_collections__id__prepare_download_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/dataset_collections/{id}/suitable_converters": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns a list of applicable converters for all datatypes in the given collection. */ get: operations["suitable_converters_api_dataset_collections__id__suitable_converters_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Search datasets or collections using a query system. */ get: operations["index_api_datasets_get"]; + put?: never; + post?: never; /** * Deletes or purges a batch of datasets. * @description Deletes or purges a batch of datasets. - * **Warning**: only the ownership of the datasets (and upload state for HDAs) is checked, - * no other checks or restrictions are made. + * **Warning**: only the ownership of the datasets (and upload state for HDAs) is checked, + * no other checks or restrictions are made. */ delete: operations["delete_batch_api_datasets_delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays information about and/or content of a dataset. - * @description **Note**: Due to the multipurpose nature of this endpoint, which can receive a wild variety of parameters - * and return different kinds of responses, the documentation here will be limited. - * To get more information please check the source code. + * @description **Note**: Due to the multipurpose nature of this endpoint, which can receive a wide variety of parameters + * and return different kinds of responses, the documentation here will be limited. + * To get more information please check the source code. */ get: operations["show_api_datasets__dataset_id__get"]; /** @@ -137,229 +389,672 @@ export interface paths { * @description Updates the values for the history content item with the given ``ID``. */ put: operations["datasets__update_dataset"]; + post?: never; /** * Delete the history dataset content with the given ``ID``. * @description Delete the history content with the given ``ID`` and path specified type. * - * **Note**: Currently does not stop any active jobs for which this dataset is an output. + * **Note**: Currently does not stop any active jobs for which this dataset is an output. */ delete: operations["datasets__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/content/{content_type}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Retrieve information about the content of a dataset. */ get: operations["get_structured_content_api_datasets__dataset_id__content__content_type__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return a a map with all the existing converted datasets associated with this instance. * @description Return a map of ` : ` containing all the *existing* converted datasets. */ get: operations["converted_api_datasets__dataset_id__converted_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/converted/{ext}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return information about datasets made by converting this dataset to a new format. * @description Return information about datasets made by converting this dataset to a new format. * - * If there is no existing converted dataset for the format in `ext`, one will be created. + * If there is no existing converted dataset for the format in `ext`, one will be created. * - * **Note**: `view` and `keys` are also available to control the serialization of the dataset. + * **Note**: `view` and `keys` are also available to control the serialization of the dataset. */ get: operations["converted_ext_api_datasets__dataset_id__converted__ext__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/extra_files": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get the list of extra files/directories associated with a dataset. */ get: operations["extra_files_api_datasets__dataset_id__extra_files_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/get_content_as_text": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns dataset content as Text. */ get: operations["get_content_as_text_api_datasets__dataset_id__get_content_as_text_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/hash": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Compute dataset hash for dataset and update model */ put: operations["compute_hash_api_datasets__dataset_id__hash_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/inheritance_chain": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** For internal use, this endpoint may change without warning. */ get: operations["show_inheritance_chain_api_datasets__dataset_id__inheritance_chain_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/metrics": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return job metrics for specified job. * @deprecated */ get: operations["get_metrics_api_datasets__dataset_id__metrics_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/object_store_id": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Update an object store ID for a dataset you own. */ put: operations["datasets__update_object_store_id"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/parameters_display": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Resolve parameters as a list for nested display. * @deprecated * @description Resolve parameters as a list for nested display. - * This API endpoint is unstable and tied heavily to Galaxy's JS client code, - * this endpoint will change frequently. + * This API endpoint is unstable and tied heavily to Galaxy's JS client code, + * this endpoint will change frequently. */ get: operations["resolve_parameters_display_api_datasets__dataset_id__parameters_display_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/permissions": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Set permissions of the given history dataset to the given role ids. * @description Set permissions of the given history dataset to the given role ids. */ put: operations["update_permissions_api_datasets__dataset_id__permissions_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{dataset_id}/storage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Display user-facing storage details related to the objectstore a dataset resides in. */ get: operations["show_storage_api_datasets__dataset_id__storage_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datasets/{history_content_id}/display": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays (preview) or downloads dataset content. * @description Streams the dataset for download or the contents preview to be displayed in a browser. */ get: operations["display_api_datasets__history_content_id__display_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; /** * Check if dataset content can be previewed or downloaded. * @description Streams the dataset for download or the contents preview to be displayed in a browser. */ head: operations["display_api_datasets__history_content_id__display_head"]; + patch?: never; + trace?: never; }; "/api/datasets/{history_content_id}/metadata_file": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns the metadata file associated with this history item. */ get: operations["datasets__get_metadata_file"]; + put?: never; + post?: never; + delete?: never; + options?: never; /** Check if metadata file can be downloaded. */ head: operations["get_metadata_file_datasets_api_datasets__history_content_id__metadata_file_head"]; + patch?: never; + trace?: never; }; "/api/datatypes": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Lists all available data types * @description Gets the list of all available data types. */ get: operations["index_api_datatypes_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/converters": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the list of all installed converters * @description Gets the list of all installed converters. */ get: operations["converters_api_datatypes_converters_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/edam_data": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns a dictionary/map of datatypes and EDAM data * @description Gets a map of datatypes and their corresponding EDAM data. */ get: operations["edam_data_api_datatypes_edam_data_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/edam_data/detailed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns a dictionary of datatypes and EDAM data details * @description Gets a map of datatypes and their corresponding EDAM data. - * EDAM data contains the EDAM iri, label, and definition. + * EDAM data contains the EDAM iri, label, and definition. */ get: operations["edam_data_detailed_api_datatypes_edam_data_detailed_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/edam_formats": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns a dictionary/map of datatypes and EDAM formats * @description Gets a map of datatypes and their corresponding EDAM formats. */ get: operations["edam_formats_api_datatypes_edam_formats_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/edam_formats/detailed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns a dictionary of datatypes and EDAM format details * @description Gets a map of datatypes and their corresponding EDAM formats. - * EDAM formats contain the EDAM iri, label, and definition. + * EDAM formats contain the EDAM iri, label, and definition. */ get: operations["edam_formats_detailed_api_datatypes_edam_formats_detailed_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/mapping": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns mappings for data types and their implementing classes * @description Gets mappings for data types. */ get: operations["mapping_api_datatypes_mapping_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/sniffers": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the list of all installed sniffers * @description Gets the list of all installed data type sniffers. */ get: operations["sniffers_api_datatypes_sniffers_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/datatypes/types_and_mapping": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns all the data types extensions and their mappings * @description Combines the datatype information from (/api/datatypes) and the - * mapping information from (/api/datatypes/mapping) into a single - * response. + * mapping information from (/api/datatypes/mapping) into a single + * response. */ get: operations["types_and_mapping_api_datatypes_types_and_mapping_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/display_applications": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the list of display applications. * @description Returns the list of display applications. */ get: operations["display_applications_index_api_display_applications_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/display_applications/reload": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Reloads the list of display applications. * @description Reloads the list of display applications. */ post: operations["display_applications_reload_api_display_applications_reload_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/drs_download/{object_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Download */ get: operations["download_api_drs_download__object_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/file_source_instances": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get a list of persisted file source instances defined by the requesting user. */ get: operations["file_sources__instances_index"]; + put?: never; /** Create a user-bound file source. */ post: operations["file_sources__create_instance"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/file_source_instances/test": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Test payload for creating user-bound file source. */ post: operations["file_sources__test_new_instance_configuration"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - "/api/file_source_instances/{user_file_source_id}": { + "/api/file_source_instances/{uuid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get a persisted user file source instance. */ get: operations["file_sources__instances_get"]; /** Update or upgrade user file source instance. */ put: operations["file_sources__instances_update"]; + post?: never; /** Purge user file source instance. */ delete: operations["file_sources__instances_purge"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/file_source_instances/{uuid}/test": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Test a file source instance and return status. */ + get: operations["file_sources__instances_test_instance"]; + put?: never; + /** Test updating or upgrading user file source instance. */ + post: operations["file_sources__test_instances_update"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/file_source_templates": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get a list of file source templates available to build user defined file sources from */ get: operations["file_sources__templates_index"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/file_source_templates/{template_id}/{template_version}/oauth2": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Template Oauth2 */ + get: operations["file_sources__template_oauth2"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/folders/{folder_id}/contents": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns a list of a folder's contents (files and sub-folders) with additional metadata about the folder. * @description Returns a list of a folder's contents (files and sub-folders). * - * Additional metadata for the folder is provided in the response as a separate object containing data - * for breadcrumb path building, permissions and other folder's details. + * Additional metadata for the folder is provided in the response as a separate object containing data + * for breadcrumb path building, permissions and other folder's details. * - * *Note*: When sorting, folders always have priority (they show-up before any dataset regardless of the sorting). + * *Note*: When sorting, folders always have priority (they show-up before any dataset regardless of the sorting). * - * **Security note**: - * - Accessing a library folder or sub-folder requires only access to the parent library. - * - Deleted folders can only be accessed by admins or users with `MODIFY` permission. - * - Datasets may be public, private or restricted (to a group of users). Listing deleted datasets has the same requirements as folders. + * **Security note**: + * - Accessing a library folder or sub-folder requires only access to the parent library. + * - Deleted folders can only be accessed by admins or users with `MODIFY` permission. + * - Datasets may be public, private or restricted (to a group of users). Listing deleted datasets has the same requirements as folders. */ get: operations["index_api_folders__folder_id__contents_get"]; + put?: never; /** Creates a new library file from an existing HDA/HDCA. */ post: operations["add_history_datasets_to_library_api_folders__folder_id__contents_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/folders/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays information about a particular library folder. * @description Returns detailed information about the library folder with the given ID. @@ -380,94 +1075,279 @@ export interface paths { * @description Marks the specified library folder as deleted (or undeleted). */ delete: operations["delete_api_folders__id__delete"]; + options?: never; + head?: never; /** * Update * @description Updates the information of an existing library folder. */ patch: operations["update_api_folders__id__patch"]; + trace?: never; }; "/api/folders/{id}/permissions": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Gets the current or available permissions of a particular library folder. * @description Gets the current or available permissions of a particular library. - * The results can be paginated and additionally filtered by a query. + * The results can be paginated and additionally filtered by a query. */ get: operations["get_permissions_api_folders__id__permissions_get"]; + put?: never; /** * Sets the permissions to manage a library folder. * @description Sets the permissions to manage a library folder. */ post: operations["set_permissions_api_folders__id__permissions_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/forms/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; /** Delete */ delete: operations["delete_api_forms__id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/forms/{id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Undelete */ post: operations["undelete_api_forms__id__undelete_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/ftp_files": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays remote files available to the user. Please use /api/remote_files instead. * @deprecated * @description Lists all remote files available to the user from different sources. * - * The total count of files and directories is returned in the 'total_matches' header. + * The total count of files and directories is returned in the 'total_matches' header. */ get: operations["index_api_ftp_files_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/genomes": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return a list of installed genomes */ get: operations["index_api_genomes_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/genomes/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return information about build */ get: operations["show_api_genomes__id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/genomes/{id}/indexes": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return all available indexes for a genome id for provided type */ get: operations["indexes_api_genomes__id__indexes_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/genomes/{id}/sequences": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return raw sequence data */ get: operations["sequences_api_genomes__id__sequences_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Displays a collection (list) of groups. */ get: operations["index_api_groups_get"]; + put?: never; /** Creates a new group. */ post: operations["create_api_groups_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Displays information about a group. */ get: operations["show_group_api_groups__group_id__get"]; /** Modifies a group. */ put: operations["update_api_groups__group_id__put"]; + post?: never; /** Delete */ delete: operations["delete_api_groups__group_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}/purge": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Purge */ post: operations["purge_api_groups__group_id__purge_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}/roles": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Displays a collection (list) of groups. */ get: operations["group_roles_api_groups__group_id__roles_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}/roles/{role_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Displays information about a group role. */ get: operations["group_role_api_groups__group_id__roles__role_id__get"]; /** Adds a role to a group */ put: operations["update_api_groups__group_id__roles__role_id__put"]; + post?: never; /** Removes a role from a group */ delete: operations["delete_api_groups__group_id__roles__role_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Undelete */ post: operations["undelete_api_groups__group_id__undelete_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}/user/{user_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays information about a group user. * @description Displays information about a group user. @@ -476,25 +1356,49 @@ export interface paths { /** * Adds a user to a group * @description PUT /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Adds a user to a group + * Adds a user to a group */ put: operations["update_api_groups__group_id__user__user_id__put"]; + post?: never; /** * Removes a user from a group * @description DELETE /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Removes a user from a group + * Removes a user from a group */ delete: operations["delete_api_groups__group_id__user__user_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}/users": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays a collection (list) of groups. * @description GET /api/groups/{encoded_group_id}/users - * Displays a collection (list) of groups. + * Displays a collection (list) of groups. */ get: operations["group_users_api_groups__group_id__users_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/groups/{group_id}/users/{user_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays information about a group user. * @description Displays information about a group user. @@ -503,145 +1407,374 @@ export interface paths { /** * Adds a user to a group * @description PUT /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Adds a user to a group + * Adds a user to a group */ put: operations["update_api_groups__group_id__users__user_id__put"]; + post?: never; /** * Removes a user from a group * @description DELETE /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Removes a user from a group + * Removes a user from a group */ delete: operations["delete_api_groups__group_id__users__user_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/help/forum/search": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Search the Galaxy Help forum. * @description Search the Galaxy Help forum using the Discourse API. * - * **Note**: This endpoint is for **INTERNAL USE ONLY** and is not part of the public Galaxy API. + * **Note**: This endpoint is for **INTERNAL USE ONLY** and is not part of the public Galaxy API. */ get: operations["search_forum_api_help_forum_search_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns histories available to the current user. */ get: operations["index_api_histories_get"]; + put?: never; /** * Creates a new history. * @description The new history can also be copied form a existing history or imported from an archive or URL. */ post: operations["create_api_histories_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get a list of all archived histories for the current user. * @description Get a list of all archived histories for the current user. * - * Archived histories are histories are not part of the active histories of the user but they can be accessed using this endpoint. + * Archived histories are histories are not part of the active histories of the user but they can be accessed using this endpoint. */ get: operations["get_archived_histories_api_histories_archived_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/batch/delete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Marks several histories with the given IDs as deleted. */ put: operations["batch_delete_api_histories_batch_delete_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/batch/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Marks several histories with the given IDs as undeleted. */ put: operations["batch_undelete_api_histories_batch_undelete_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/count": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns number of histories for the current user. */ get: operations["count_api_histories_count_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns deleted histories for the current user. */ get: operations["index_deleted_api_histories_deleted_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/deleted/{history_id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Restores a deleted history with the given ID (that hasn't been purged). */ post: operations["undelete_api_histories_deleted__history_id__undelete_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/from_store": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Create histories from a model store. */ post: operations["create_from_store_api_histories_from_store_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/from_store_async": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Launch a task to create histories from a model store. */ post: operations["create_from_store_async_api_histories_from_store_async_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/most_recently_used": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns the most recently used history of the user. */ get: operations["show_recent_api_histories_most_recently_used_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return all histories that are published. */ get: operations["published_api_histories_published_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/shared_with_me": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return all histories that are shared with the current user. */ get: operations["shared_with_me_api_histories_shared_with_me_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns the history with the given ID. */ get: operations["history_api_histories__history_id__get"]; /** Updates the values for the history with the given ID. */ put: operations["update_api_histories__history_id__put"]; + post?: never; /** Marks the history with the given ID as deleted. */ delete: operations["delete_api_histories__history_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/archive": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Archive a history. * @description Marks the given history as 'archived' and returns the history. * - * Archiving a history will remove it from the list of active histories of the user but it will still be - * accessible via the `/api/histories/{id}` or the `/api/histories/archived` endpoints. + * Archiving a history will remove it from the list of active histories of the user but it will still be + * accessible via the `/api/histories/{id}` or the `/api/histories/archived` endpoints. * - * Associating an export record: + * Associating an export record: * - * - Optionally, an export record (containing information about a recent snapshot of the history) can be associated with the - * archived history by providing an `archive_export_id` in the payload. The export record must belong to the history and - * must be in the ready state. - * - When associating an export record, the history can be purged after it has been archived using the `purge_history` flag. + * - Optionally, an export record (containing information about a recent snapshot of the history) can be associated with the + * archived history by providing an `archive_export_id` in the payload. The export record must belong to the history and + * must be in the ready state. + * - When associating an export record, the history can be purged after it has been archived using the `purge_history` flag. * - * If the history is already archived, this endpoint will return a 409 Conflict error, indicating that the history is already archived. - * If the history was not purged after it was archived, you can restore it using the `/api/histories/{id}/archive/restore` endpoint. + * If the history is already archived, this endpoint will return a 409 Conflict error, indicating that the history is already archived. + * If the history was not purged after it was archived, you can restore it using the `/api/histories/{id}/archive/restore` endpoint. */ post: operations["archive_history_api_histories__history_id__archive_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/archive/restore": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Restore an archived history. * @description Restores an archived history and returns it. * - * Restoring an archived history will add it back to the list of active histories of the user (unless it was purged). + * Restoring an archived history will add it back to the list of active histories of the user (unless it was purged). * - * **Warning**: Please note that histories that are associated with an archive export might be purged after export, so un-archiving them - * will not restore the datasets that were in the history before it was archived. You will need to import back the archive export - * record to restore the history and its datasets as a new copy. See `/api/histories/from_store_async` for more information. + * **Warning**: Please note that histories that are associated with an archive export might be purged after export, so un-archiving them + * will not restore the datasets that were in the history before it was archived. You will need to import back the archive export + * record to restore the history and its datasets as a new copy. See `/api/histories/from_store_async` for more information. */ put: operations["restore_archived_history_api_histories__history_id__archive_restore_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/citations": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return all the citations for the tools used to produce the datasets in the history. */ get: operations["citations_api_histories__history_id__citations_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the contents of the given history. * @description Return a list of `HDA`/`HDCA` data for the history with the given ``ID``. * - * - The contents can be filtered and queried using the appropriate parameters. - * - The amount of information returned for each item can be customized. + * - The contents can be filtered and queried using the appropriate parameters. + * - The amount of information returned for each item can be customized. * - * **Note**: Anonymous users are allowed to get their current history contents. + * **Note**: Anonymous users are allowed to get their current history contents. */ get: operations["history_contents__index"]; /** * Batch update specific properties of a set items contained in the given History. * @description Batch update specific properties of a set items contained in the given History. * - * If you provide an invalid/unknown property key the request will not fail, but no changes - * will be made to the items. + * If you provide an invalid/unknown property key the request will not fail, but no changes + * will be made to the items. */ put: operations["update_batch_api_histories__history_id__contents_put"]; /** @@ -650,78 +1783,218 @@ export interface paths { * @description Create a new `HDA` or `HDCA` in the given History. */ post: operations["history_contents__create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/archive": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Build and return a compressed archive of the selected history contents. * @description Build and return a compressed archive of the selected history contents. * - * **Note**: this is a volatile endpoint and settings and behavior may change. + * **Note**: this is a volatile endpoint and settings and behavior may change. */ get: operations["history_contents__archive"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/archive/{filename}.{format}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Build and return a compressed archive of the selected history contents. * @description Build and return a compressed archive of the selected history contents. * - * **Note**: this is a volatile endpoint and settings and behavior may change. + * **Note**: this is a volatile endpoint and settings and behavior may change. */ get: operations["history_contents__archive_named"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/bulk": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Executes an operation on a set of items contained in the given History. * @description Executes an operation on a set of items contained in the given History. * - * The items to be processed can be explicitly set or determined by a dynamic query. + * The items to be processed can be explicitly set or determined by a dynamic query. */ put: operations["bulk_operation_api_histories__history_id__contents_bulk_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/dataset_collections/{id}/download": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Download the content of a dataset collection as a `zip` archive. * @description Download the content of a history dataset collection as a `zip` archive - * while maintaining approximate collection structure. + * while maintaining approximate collection structure. */ get: operations["history_contents__download_collection"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/datasets/{id}/materialize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Materialize a deferred dataset into real, usable dataset. */ post: operations["materialize_dataset_api_histories__history_id__contents_datasets__id__materialize_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{dataset_id}/permissions": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Set permissions of the given history dataset to the given role ids. * @description Set permissions of the given history dataset to the given role ids. */ put: operations["update_permissions_api_histories__history_id__contents__dataset_id__permissions_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{history_content_id}/display": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays (preview) or downloads dataset content. * @description Streams the dataset for download or the contents preview to be displayed in a browser. */ get: operations["history_contents_display_api_histories__history_id__contents__history_content_id__display_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; /** * Check if dataset content can be previewed or downloaded. * @description Streams the dataset for download or the contents preview to be displayed in a browser. */ head: operations["history_contents_display_api_histories__history_id__contents__history_content_id__display_head"]; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{history_content_id}/extra_files": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get the list of extra files/directories associated with a dataset. */ get: operations["extra_files_history_api_histories__history_id__contents__history_content_id__extra_files_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{history_content_id}/metadata_file": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns the metadata file associated with this history item. */ get: operations["history_contents__get_metadata_file"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{history_content_id}/tags": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show tags based on history_content_id */ get: operations["index_api_histories__history_id__contents__history_content_id__tags_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{history_content_id}/tags/{tag_name}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show tag based on history_content_id */ get: operations["show_api_histories__history_id__contents__history_content_id__tags__tag_name__get"]; /** Update tag based on history_content_id */ @@ -730,14 +2003,24 @@ export interface paths { post: operations["create_api_histories__history_id__contents__history_content_id__tags__tag_name__post"]; /** Delete tag based on history_content_id */ delete: operations["delete_api_histories__history_id__contents__history_content_id__tags__tag_name__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return detailed information about an HDA within a history. ``/api/histories/{history_id}/contents/{type}s/{id}`` should be used instead. * @deprecated * @description Return detailed information about an `HDA` or `HDCA` within a history. * - * **Note**: Anonymous users are allowed to get their current history contents. + * **Note**: Anonymous users are allowed to get their current history contents. */ get: operations["history_contents__show_legacy"]; /** @@ -746,44 +2029,80 @@ export interface paths { * @description Updates the values for the history content item with the given ``ID``. */ put: operations["history_contents__update_legacy"]; + post?: never; /** * Delete the history dataset with the given ``ID``. * @description Delete the history content with the given ``ID`` and query specified type (defaults to dataset). * - * **Note**: Currently does not stop any active jobs for which this dataset is an output. + * **Note**: Currently does not stop any active jobs for which this dataset is an output. */ delete: operations["history_contents__delete_legacy"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{id}/validate": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Validates the metadata associated with a dataset within a History. * @description Validates the metadata associated with a dataset within a History. */ put: operations["validate_api_histories__history_id__contents__id__validate_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{type}s": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the contents of the given history filtered by type. * @description Return a list of either `HDA`/`HDCA` data for the history with the given ``ID``. * - * - The contents can be filtered and queried using the appropriate parameters. - * - The amount of information returned for each item can be customized. + * - The contents can be filtered and queried using the appropriate parameters. + * - The amount of information returned for each item can be customized. * - * **Note**: Anonymous users are allowed to get their current history contents. + * **Note**: Anonymous users are allowed to get their current history contents. */ get: operations["history_contents__index_typed"]; + put?: never; /** * Create a new `HDA` or `HDCA` in the given History. * @description Create a new `HDA` or `HDCA` in the given History. */ post: operations["history_contents__create_typed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{type}s/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return detailed information about a specific HDA or HDCA with the given `ID` within a history. * @description Return detailed information about an `HDA` or `HDCA` within a history. * - * **Note**: Anonymous users are allowed to get their current history contents. + * **Note**: Anonymous users are allowed to get their current history contents. */ get: operations["history_contents__show"]; /** @@ -791,68 +2110,170 @@ export interface paths { * @description Updates the values for the history content item with the given ``ID``. */ put: operations["history_contents__update_typed"]; + post?: never; /** * Delete the history content with the given ``ID`` and path specified type. * @description Delete the history content with the given ``ID`` and path specified type. * - * **Note**: Currently does not stop any active jobs for which this dataset is an output. + * **Note**: Currently does not stop any active jobs for which this dataset is an output. */ delete: operations["history_contents__delete_typed"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{type}s/{id}/jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return detailed information about an `HDA` or `HDCAs` jobs. * @description Return detailed information about an `HDA` or `HDCAs` jobs. * - * **Warning**: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. + * **Warning**: We allow anyone to fetch job state information about any object they + * can guess an encoded ID for - it isn't considered protected data. This keeps + * polling IDs as part of state calculation for large histories and collections as + * efficient as possible. */ get: operations["show_jobs_summary_api_histories__history_id__contents__type_s__id__jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{type}s/{id}/prepare_store_download": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Prepare a dataset or dataset collection for export-style download. */ post: operations["prepare_store_download_api_histories__history_id__contents__type_s__id__prepare_store_download_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents/{type}s/{id}/write_store": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Prepare a dataset or dataset collection for export-style download and write to supplied URI. */ post: operations["write_store_api_histories__history_id__contents__type_s__id__write_store_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/contents_from_store": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Create contents from store. * @description Create history contents from model store. - * Input can be a tarfile created with build_objects script distributed - * with galaxy-data, from an exported history with files stripped out, - * or hand-crafted JSON dictionary. + * Input can be a tarfile created with build_objects script distributed + * with galaxy-data, from an exported history with files stripped out, + * or hand-crafted JSON dictionary. */ post: operations["create_from_store_api_histories__history_id__contents_from_store_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/custom_builds_metadata": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns meta data for custom builds. */ get: operations["get_custom_builds_metadata_api_histories__history_id__custom_builds_metadata_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/disable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item inaccessible by a URL link. * @description Makes this item inaccessible by a URL link and return the current sharing status. */ put: operations["disable_link_access_api_histories__history_id__disable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/enable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item accessible by a URL link. * @description Makes this item accessible by a URL link and return the current sharing status. */ put: operations["enable_link_access_api_histories__history_id__enable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/exports": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get previous history exports. * @description By default the legacy job-based history exports (jeha) are returned. * - * Change the `accept` content type header to return the new task-based history exports. + * Change the `accept` content type header to return the new task-based history exports. */ get: operations["get_history_exports_api_histories__history_id__exports_get"]; /** @@ -860,85 +2281,214 @@ export interface paths { * @deprecated * @description This will start a job to create a history export archive. * - * Calling this endpoint multiple times will return the 202 status code until the archive - * has been completely generated and is ready to download. When ready, it will return - * the 200 status code along with the download link information. + * Calling this endpoint multiple times will return the 202 status code until the archive + * has been completely generated and is ready to download. When ready, it will return + * the 200 status code along with the download link information. * - * If the history will be exported to a `directory_uri`, instead of returning the download - * link information, the Job ID will be returned so it can be queried to determine when - * the file has been written. + * If the history will be exported to a `directory_uri`, instead of returning the download + * link information, the Job ID will be returned so it can be queried to determine when + * the file has been written. * - * **Deprecation notice**: Please use `/api/histories/{id}/prepare_store_download` or - * `/api/histories/{id}/write_store` instead. + * **Deprecation notice**: Please use `/api/histories/{id}/prepare_store_download` or + * `/api/histories/{id}/write_store` instead. */ put: operations["archive_export_api_histories__history_id__exports_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/exports/{jeha_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * If ready and available, return raw contents of exported history as a downloadable archive. * @deprecated * @description See ``PUT /api/histories/{id}/exports`` to initiate the creation - * of the history export - when ready, that route will return 200 status - * code (instead of 202) and this route can be used to download the archive. + * of the history export - when ready, that route will return 200 status + * code (instead of 202) and this route can be used to download the archive. * - * **Deprecation notice**: Please use `/api/histories/{id}/prepare_store_download` or - * `/api/histories/{id}/write_store` instead. + * **Deprecation notice**: Please use `/api/histories/{id}/prepare_store_download` or + * `/api/histories/{id}/write_store` instead. */ get: operations["history_archive_download_api_histories__history_id__exports__jeha_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return job state summary info for jobs, implicit groups jobs for collections or workflow invocations. * @description Return job state summary info for jobs, implicit groups jobs for collections or workflow invocations. * - * **Warning**: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. + * **Warning**: We allow anyone to fetch job state information about any object they + * can guess an encoded ID for - it isn't considered protected data. This keeps + * polling IDs as part of state calculation for large histories and collections as + * efficient as possible. */ get: operations["index_jobs_summary_api_histories__history_id__jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/materialize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Materialize a deferred library or HDA dataset into real, usable dataset in specified history. */ post: operations["materialize_to_history_api_histories__history_id__materialize_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/prepare_store_download": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Return a short term storage token to monitor download of the history. */ post: operations["prepare_store_download_api_histories__history_id__prepare_store_download_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/publish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item public and accessible by a URL link. * @description Makes this item publicly available by a URL link and return the current sharing status. */ put: operations["publish_api_histories__history_id__publish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/share_with_users": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Share this item with specific users. * @description Shares this item with specific users and return the current sharing status. */ put: operations["share_with_users_api_histories__history_id__share_with_users_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/sharing": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get the current sharing status of the given item. * @description Return the sharing status of the item. */ get: operations["sharing_api_histories__history_id__sharing_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/slug": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Set a new slug for this shared item. * @description Sets a new slug to access this item by URL. The new slug must be unique. */ put: operations["set_slug_api_histories__history_id__slug_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/tags": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show tags based on history_id */ get: operations["index_api_histories__history_id__tags_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/tags/{tag_name}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show tag based on history_id */ get: operations["show_api_histories__history_id__tags__tag_name__get"]; /** Update tag based on history_id */ @@ -947,72 +2497,258 @@ export interface paths { post: operations["create_api_histories__history_id__tags__tag_name__post"]; /** Delete tag based on history_id */ delete: operations["delete_api_histories__history_id__tags__tag_name__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/unpublish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Removes this item from the published list. * @description Removes this item from the published list and return the current sharing status. */ put: operations["unpublish_api_histories__history_id__unpublish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/histories/{history_id}/write_store": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Prepare history for export-style download and write to supplied URI. */ post: operations["write_store_api_histories__history_id__write_store_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get the list of a user's workflow invocations. */ get: operations["index_invocations_api_invocations_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/from_store": { - /** + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** * Create Invocations From Store * @description Create invocation(s) from a supplied model store. */ post: operations["create_invocations_from_store_api_invocations_from_store_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/steps/{step_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show details of workflow invocation step. */ get: operations["step_api_invocations_steps__step_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get detailed description of a workflow invocation. */ get: operations["show_invocation_api_invocations__invocation_id__get"]; + put?: never; + post?: never; /** Cancel the specified workflow invocation. */ delete: operations["cancel_invocation_api_invocations__invocation_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}/jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get job state summary info aggregated across all current jobs of the workflow invocation. * @description Warning: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. + * can guess an encoded ID for - it isn't considered protected data. This keeps + * polling IDs as part of state calculation for large histories and collections as + * efficient as possible. */ get: operations["invocation_jobs_summary_api_invocations__invocation_id__jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/invocations/{invocation_id}/metrics": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get Invocation Metrics */ + get: operations["get_invocation_metrics_api_invocations__invocation_id__metrics_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}/prepare_store_download": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Prepare a workflow invocation export-style download. */ post: operations["prepare_store_download_api_invocations__invocation_id__prepare_store_download_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}/report": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get JSON summarizing invocation for reporting. */ get: operations["show_invocation_report_api_invocations__invocation_id__report_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}/report.pdf": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get PDF summarizing invocation for reporting. */ get: operations["show_invocation_report_pdf_api_invocations__invocation_id__report_pdf_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/invocations/{invocation_id}/request": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get a description modeling an API request to invoke this workflow - this is recreated and will be more specific in some ways than the initial creation request. */ + get: operations["invocation_as_request_api_invocations__invocation_id__request_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}/step_jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get job state summary info aggregated per step of the workflow invocation. * @description Warning: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. + * can guess an encoded ID for - it isn't considered protected data. This keeps + * polling IDs as part of state calculation for large histories and collections as + * efficient as possible. */ get: operations["invocation_step_jobs_summary_api_invocations__invocation_id__step_jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}/steps/{step_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Show details of workflow invocation step. * @description An alias for `GET /api/invocations/steps/{step_id}`. `invocation_id` is ignored. @@ -1020,12 +2756,37 @@ export interface paths { get: operations["invocation_step_api_invocations__invocation_id__steps__step_id__get"]; /** Update state of running workflow step invocation - still very nebulous but this would be for stuff like confirming paused steps can proceed etc. */ put: operations["update_invocation_step_api_invocations__invocation_id__steps__step_id__put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/invocations/{invocation_id}/write_store": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Prepare a workflow invocation export-style download and write to supplied URI. */ post: operations["write_store_api_invocations__invocation_id__write_store_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/job_lock": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Job Lock Status * @description Get job lock status. @@ -1036,152 +2797,515 @@ export interface paths { * @description Set job lock status. */ put: operations["update_job_lock_api_job_lock_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Index */ get: operations["index_api_jobs_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/search": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Return jobs for current user * @description This method is designed to scan the list of previously run jobs and find records of jobs that had - * the exact some input parameters and datasets. This can be used to minimize the amount of repeated work, and simply - * recycle the old results. + * the exact some input parameters and datasets. This can be used to minimize the amount of repeated work, and simply + * recycle the old results. */ post: operations["search_jobs_api_jobs_search_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return dictionary containing description of job data. */ get: operations["show_job_api_jobs__job_id__get"]; + put?: never; + post?: never; /** Cancels specified job */ delete: operations["cancel_job_api_jobs__job_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/common_problems": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Check inputs and job for common potential problems to aid in error reporting */ get: operations["check_common_problems_api_jobs__job_id__common_problems_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/jobs/{job_id}/console_output": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Returns STDOUT and STDERR from the tool running in a specific job. + * @description Get the stdout and/or stderr from the tool running in a specific job. The position parameters are the index + * of where to start reading stdout/stderr. The length parameters control how much + * stdout/stderr is read. + */ + get: operations["get_console_output_api_jobs__job_id__console_output_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/destination_params": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return destination parameters for specified job. */ get: operations["destination_params_job_api_jobs__job_id__destination_params_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/error": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Submits a bug report via the API. */ post: operations["report_error_api_jobs__job_id__error_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/jobs/{job_id}/finish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** Finished a job regardless of execution status (ie early job finish) */ + put: operations["finish_job_api_jobs__job_id__finish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/inputs": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns input datasets created by a job. */ get: operations["get_inputs_api_jobs__job_id__inputs_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/metrics": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return job metrics for specified job. */ get: operations["get_metrics_api_jobs__job_id__metrics_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/oidc-tokens": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get a fresh OIDC token * @description Allows remote job running mechanisms to get a fresh OIDC token that can be used on remote side to authorize user. It is not meant to represent part of Galaxy's stable, user facing API */ get: operations["get_token_api_jobs__job_id__oidc_tokens_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/outputs": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns output datasets created by a job. */ get: operations["get_outputs_api_jobs__job_id__outputs_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/parameters_display": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Resolve parameters as a list for nested display. * @description Resolve parameters as a list for nested display. - * This API endpoint is unstable and tied heavily to Galaxy's JS client code, - * this endpoint will change frequently. + * This API endpoint is unstable and tied heavily to Galaxy's JS client code, + * this endpoint will change frequently. */ get: operations["resolve_parameters_display_api_jobs__job_id__parameters_display_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/jobs/{job_id}/resume": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Resumes a paused job. */ put: operations["resume_paused_job_api_jobs__job_id__resume_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/libraries": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns a list of summary data for all libraries. * @description Returns a list of summary data for all libraries. */ get: operations["index_api_libraries_get"]; + put?: never; /** * Creates a new library and returns its summary information. * @description Creates a new library and returns its summary information. Currently, only admin users can create libraries. */ post: operations["create_api_libraries_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/libraries/deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns a list of summary data for all libraries marked as deleted. * @description Returns a list of summary data for all libraries marked as deleted. */ get: operations["index_deleted_api_libraries_deleted_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/libraries/from_store": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Create libraries from a model store. */ post: operations["create_from_store_api_libraries_from_store_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/libraries/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns summary information about a particular library. * @description Returns summary information about a particular library. */ get: operations["show_api_libraries__id__get"]; + put?: never; + post?: never; /** * Marks the specified library as deleted (or undeleted). * @description Marks the specified library as deleted (or undeleted). - * Currently, only admin users can delete or restore libraries. + * Currently, only admin users can delete or restore libraries. */ delete: operations["delete_api_libraries__id__delete"]; + options?: never; + head?: never; /** * Updates the information of an existing library. * @description Updates the information of an existing library. */ patch: operations["update_api_libraries__id__patch"]; + trace?: never; }; "/api/libraries/{id}/permissions": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Gets the current or available permissions of a particular library. * @description Gets the current or available permissions of a particular library. - * The results can be paginated and additionally filtered by a query. + * The results can be paginated and additionally filtered by a query. */ get: operations["get_permissions_api_libraries__id__permissions_get"]; + put?: never; /** * Sets the permissions to access and manipulate a library. * @description Sets the permissions to access and manipulate a library. */ post: operations["set_permissions_api_libraries__id__permissions_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/libraries/{library_id}/contents": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Return a list of library files and folders. + * @deprecated + * @description This endpoint is deprecated. Please use GET /api/folders/{folder_id}/contents instead. + */ + get: operations["index_api_libraries__library_id__contents_get"]; + put?: never; + /** + * Create a new library file or folder. + * @deprecated + * @description This endpoint is deprecated. Please use POST /api/folders/{folder_id} or POST /api/folders/{folder_id}/contents instead. + */ + post: operations["create_form_api_libraries__library_id__contents_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/libraries/{library_id}/contents/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Return a library file or folder. + * @deprecated + * @description This endpoint is deprecated. Please use GET /api/libraries/datasets/{library_id} instead. + */ + get: operations["library_content_api_libraries__library_id__contents__id__get"]; + /** + * Update a library file or folder. + * @deprecated + * @description This endpoint is deprecated. Please use PATCH /api/libraries/datasets/{library_id} instead. + */ + put: operations["update_api_libraries__library_id__contents__id__put"]; + post?: never; + /** + * Delete a library file or folder. + * @deprecated + * @description This endpoint is deprecated. Please use DELETE /api/libraries/datasets/{library_id} instead. + */ + delete: operations["delete_api_libraries__library_id__contents__id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/licenses": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Lists all available SPDX licenses * @description Returns an index with all the available [SPDX licenses](https://spdx.org/licenses/). */ get: operations["index_api_licenses_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/licenses/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Gets the SPDX license metadata associated with the short identifier * @description Returns the license metadata associated with the given - * [SPDX license short ID](https://spdx.github.io/spdx-spec/appendix-I-SPDX-license-list/). + * [SPDX license short ID](https://spdx.github.io/spdx-spec/appendix-I-SPDX-license-list/). */ get: operations["get_api_licenses__id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/metrics": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Records a collection of metrics. * @description Record any metrics sent and return some status object. */ post: operations["create_api_metrics_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/notifications": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the list of notifications associated with the user. * @description Anonymous users cannot receive personal notifications, only broadcasted notifications. * - * You can use the `limit` and `offset` parameters to paginate through the notifications. + * You can use the `limit` and `offset` parameters to paginate through the notifications. */ get: operations["get_user_notifications_api_notifications_get"]; /** Updates a list of notifications with the requested values in a single request. */ @@ -1193,31 +3317,53 @@ export interface paths { post: operations["send_notification_api_notifications_post"]; /** Deletes a list of notifications received by the user in a single request. */ delete: operations["delete_user_notifications_api_notifications_delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/notifications/broadcast": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns all currently active broadcasted notifications. * @description Only Admin users can access inactive notifications (scheduled or recently expired). */ get: operations["get_all_broadcasted_api_notifications_broadcast_get"]; + put?: never; /** * Broadcasts a notification to every user in the system. * @description Broadcasted notifications are a special kind of notification that are always accessible to all users, including anonymous users. - * They are typically used to display important information such as maintenance windows or new features. - * These notifications are displayed differently from regular notifications, usually in a banner at the top or bottom of the page. + * They are typically used to display important information such as maintenance windows or new features. + * These notifications are displayed differently from regular notifications, usually in a banner at the top or bottom of the page. * - * Broadcasted notifications can include action links that are displayed as buttons. - * This allows users to easily perform tasks such as filling out surveys, accepting legal agreements, or accessing new tutorials. + * Broadcasted notifications can include action links that are displayed as buttons. + * This allows users to easily perform tasks such as filling out surveys, accepting legal agreements, or accessing new tutorials. * - * Some key features of broadcasted notifications include: - * - They are not associated with a specific user, so they cannot be deleted or marked as read. - * - They can be scheduled to be displayed in the future or to expire after a certain time. - * - By default, broadcasted notifications are published immediately and expire six months after publication. - * - Only admins can create, edit, reschedule, or expire broadcasted notifications as needed. + * Some key features of broadcasted notifications include: + * - They are not associated with a specific user, so they cannot be deleted or marked as read. + * - They can be scheduled to be displayed in the future or to expire after a certain time. + * - By default, broadcasted notifications are published immediately and expire six months after publication. + * - Only admins can create, edit, reschedule, or expire broadcasted notifications as needed. */ post: operations["broadcast_notification_api_notifications_broadcast_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/notifications/broadcast/{notification_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the information of a specific broadcasted notification. * @description Only Admin users can access inactive notifications (scheduled or recently expired). @@ -1228,209 +3374,555 @@ export interface paths { * @description Only Admins can update broadcasted notifications. This is useful to reschedule, edit or expire broadcasted notifications. */ put: operations["update_broadcasted_notification_api_notifications_broadcast__notification_id__put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/notifications/preferences": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the current user's preferences for notifications. * @description Anonymous users cannot have notification preferences. They will receive only broadcasted notifications. * - * - The settings will contain all possible channels, but the client should only show the ones that are really supported by the server. - * The supported channels are returned in the `supported-channels` header. + * - The settings will contain all possible channels, but the client should only show the ones that are really supported by the server. + * The supported channels are returned in the `supported-channels` header. */ get: operations["get_notification_preferences_api_notifications_preferences_get"]; /** * Updates the user's preferences for notifications. * @description Anonymous users cannot have notification preferences. They will receive only broadcasted notifications. * - * - Can be used to completely enable/disable notifications for a particular type (category) - * or to enable/disable a particular channel on each category. + * - Can be used to completely enable/disable notifications for a particular type (category) + * or to enable/disable a particular channel on each category. */ put: operations["update_notification_preferences_api_notifications_preferences_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/notifications/status": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Returns the current status summary of the user's notifications since a particular date. * @description Anonymous users cannot receive personal notifications, only broadcasted notifications. */ get: operations["get_notifications_status_api_notifications_status_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/notifications/{notification_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Displays information about a notification received by the user. */ get: operations["show_notification_api_notifications__notification_id__get"]; /** Updates the state of a notification received by the user. */ put: operations["update_user_notification_api_notifications__notification_id__put"]; + post?: never; /** * Deletes a notification received by the user. * @description When a notification is deleted, it is not immediately removed from the database, but marked as deleted. * - * - It will not be returned in the list of notifications, but admins can still access it as long as it is not expired. - * - It will be eventually removed from the database by a background task after the expiration time. - * - Deleted notifications will be permanently deleted when the expiration time is reached. + * - It will not be returned in the list of notifications, but admins can still access it as long as it is not expired. + * - It will be eventually removed from the database by a background task after the expiration time. + * - Deleted notifications will be permanently deleted when the expiration time is reached. */ delete: operations["delete_user_notification_api_notifications__notification_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/object_store_instances": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get a list of persisted object store instances defined by the requesting user. */ get: operations["object_stores__instances_index"]; + put?: never; /** Create a user-bound object store. */ post: operations["object_stores__create_instance"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/object_store_instances/test": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Test payload for creating user-bound object store. */ post: operations["object_stores__test_new_instance_configuration"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; - "/api/object_store_instances/{user_object_store_id}": { + "/api/object_store_instances/{uuid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get a persisted user object store instance. */ get: operations["object_stores__instances_get"]; /** Update or upgrade user object store instance. */ put: operations["object_stores__instances_update"]; + post?: never; /** Purge user object store instance. */ delete: operations["object_stores__instances_purge"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/object_store_instances/{uuid}/test": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get a persisted user object store instance. */ + get: operations["object_stores__instances_test_instance"]; + put?: never; + /** Test updating or upgrading user object source instance. */ + post: operations["object_stores__test_instances_update"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/object_store_templates": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get a list of object store templates available to build user defined object stores from */ get: operations["object_stores__templates_index"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/object_stores": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get a list of (currently only concrete) object stores configured with this Galaxy instance. */ get: operations["index_api_object_stores_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/object_stores/{object_store_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get information about a concrete object store configured with Galaxy. */ get: operations["show_info_api_object_stores__object_store_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Lists all Pages viewable by the user. * @description Get a list with summary information of all Pages available to the user. */ get: operations["index_api_pages_get"]; + put?: never; /** * Create a page and return summary information. * @description Get a list with details of all Pages available to the user. */ post: operations["create_api_pages_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return a page summary and the content of the last revision. * @description Return summary information about a specific Page and the content of the last revision. */ get: operations["show_api_pages__id__get"]; + put?: never; + post?: never; /** * Marks the specific Page as deleted. * @description Marks the Page with the given ID as deleted. */ delete: operations["delete_api_pages__id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}.pdf": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return a PDF document of the last revision of the Page. * @description Return a PDF document of the last revision of the Page. * - * This feature may not be available in this Galaxy. + * This feature may not be available in this Galaxy. */ get: operations["show_pdf_api_pages__id__pdf_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/disable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item inaccessible by a URL link. * @description Makes this item inaccessible by a URL link and return the current sharing status. */ put: operations["disable_link_access_api_pages__id__disable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/enable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item accessible by a URL link. * @description Makes this item accessible by a URL link and return the current sharing status. */ put: operations["enable_link_access_api_pages__id__enable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/prepare_download": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Return a PDF document of the last revision of the Page. * @description Return a STS download link for this page to be downloaded as a PDF. * - * This feature may not be available in this Galaxy. + * This feature may not be available in this Galaxy. */ post: operations["prepare_pdf_api_pages__id__prepare_download_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/publish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item public and accessible by a URL link. * @description Makes this item publicly available by a URL link and return the current sharing status. */ put: operations["publish_api_pages__id__publish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/share_with_users": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Share this item with specific users. * @description Shares this item with specific users and return the current sharing status. */ put: operations["share_with_users_api_pages__id__share_with_users_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/sharing": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get the current sharing status of the given Page. * @description Return the sharing status of the item. */ get: operations["sharing_api_pages__id__sharing_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/slug": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Set a new slug for this shared item. * @description Sets a new slug to access this item by URL. The new slug must be unique. */ put: operations["set_slug_api_pages__id__slug_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Undelete the specific Page. * @description Marks the Page with the given ID as undeleted. */ put: operations["undelete_api_pages__id__undelete_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/pages/{id}/unpublish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Removes this item from the published list. * @description Removes this item from the published list and return the current sharing status. */ put: operations["unpublish_api_pages__id__unpublish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/quotas": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays a list with information of quotas that are currently active. * @description Displays a list with information of quotas that are currently active. */ get: operations["index_api_quotas_get"]; + put?: never; /** * Creates a new quota. * @description Creates a new quota. */ post: operations["create_api_quotas_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/quotas/deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays a list with information of quotas that have been deleted. * @description Displays a list with information of quotas that have been deleted. */ get: operations["index_deleted_api_quotas_deleted_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/quotas/deleted/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays details on a particular quota that has been deleted. * @description Displays details on a particular quota that has been deleted. */ get: operations["deleted_quota_api_quotas_deleted__id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/quotas/deleted/{id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * Restores a previously deleted quota. * @description Restores a previously deleted quota. */ post: operations["undelete_api_quotas_deleted__id__undelete_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/quotas/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays details on a particular active quota. * @description Displays details on a particular active quota. @@ -1441,460 +3933,1488 @@ export interface paths { * @description Updates an existing quota. */ put: operations["update_api_quotas__id__put"]; + post?: never; /** * Deletes an existing quota. * @description Deletes an existing quota. */ delete: operations["delete_api_quotas__id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/quotas/{id}/purge": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Purges a previously deleted quota. */ post: operations["purge_api_quotas__id__purge_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/remote_files": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Displays remote files available to the user. * @description Lists all remote files available to the user from different sources. * - * The total count of files and directories is returned in the 'total_matches' header. + * The total count of files and directories is returned in the 'total_matches' header. */ get: operations["index_api_remote_files_get"]; + put?: never; /** * Creates a new entry (directory/record) on the remote files source. * @description Creates a new entry on the remote files source. */ post: operations["create_entry_api_remote_files_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/remote_files/plugins": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Display plugin information for each of the gxfiles:// URI targets available. * @description Display plugin information for each of the gxfiles:// URI targets available. */ get: operations["plugins_api_remote_files_plugins_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/roles": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Index */ get: operations["index_api_roles_get"]; + put?: never; /** Create */ post: operations["create_api_roles_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/roles/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show */ get: operations["show_api_roles__id__get"]; + put?: never; + post?: never; /** Delete */ delete: operations["delete_api_roles__id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/roles/{id}/purge": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Purge */ post: operations["purge_api_roles__id__purge_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/roles/{id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Undelete */ post: operations["undelete_api_roles__id__undelete_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/short_term_storage/{storage_request_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Serve the staged download specified by request ID. */ get: operations["serve_api_short_term_storage__storage_request_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/short_term_storage/{storage_request_id}/ready": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Determine if specified storage request ID is ready for download. */ get: operations["is_ready_api_short_term_storage__storage_request_id__ready_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/datasets": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; /** * Purges a set of datasets by ID from disk. The datasets must be owned by the user. * @description **Warning**: This operation cannot be undone. All objects will be deleted permanently from the disk. */ delete: operations["cleanup_datasets_api_storage_datasets_delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/datasets/discarded": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns discarded datasets owned by the given user. The results can be paginated. */ get: operations["discarded_datasets_api_storage_datasets_discarded_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/datasets/discarded/summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns information with the total storage space taken by discarded datasets owned by the given user. */ get: operations["discarded_datasets_summary_api_storage_datasets_discarded_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/histories": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; /** * Purges a set of histories by ID. The histories must be owned by the user. * @description **Warning**: This operation cannot be undone. All objects will be deleted permanently from the disk. */ delete: operations["cleanup_histories_api_storage_histories_delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/histories/archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns archived histories owned by the given user that are not purged. The results can be paginated. */ get: operations["archived_histories_api_storage_histories_archived_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/histories/archived/summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns information with the total storage space taken by non-purged archived histories associated with the given user. */ get: operations["archived_histories_summary_api_storage_histories_archived_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/histories/discarded": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns all discarded histories associated with the given user. */ get: operations["discarded_histories_api_storage_histories_discarded_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/storage/histories/discarded/summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns information with the total storage space taken by discarded histories associated with the given user. */ get: operations["discarded_histories_summary_api_storage_histories_discarded_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tags": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Apply a new set of tags to an item. * @description Replaces the tags associated with an item with the new ones specified in the payload. * - * - The previous tags will be __deleted__. - * - If no tags are provided in the request body, the currently associated tags will also be __deleted__. + * - The previous tags will be __deleted__. + * - If no tags are provided in the request body, the currently associated tags will also be __deleted__. */ put: operations["update_api_tags_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tasks/{task_id}/state": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Determine state of task ID */ get: operations["state_api_tasks__task_id__state_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_data": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Lists all available data tables * @description Get the list of all available data tables. */ get: operations["index_api_tool_data_get"]; + put?: never; /** Import a data manager bundle */ post: operations["create_api_tool_data_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_data/{table_name}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get details of a given data table * @description Get details of a given tool data table. */ get: operations["show_api_tool_data__table_name__get"]; + put?: never; + post?: never; /** * Removes an item from a data table * @description Removes an item from a data table and reloads it to return its updated details. */ delete: operations["delete_api_tool_data__table_name__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_data/{table_name}/fields/{field_name}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get information about a particular field in a tool data table * @description Reloads a data table and return its details. */ get: operations["show_field_api_tool_data__table_name__fields__field_name__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_data/{table_name}/fields/{field_name}/files/{file_name}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get information about a particular field in a tool data table * @description Download a file associated with the data table field. */ get: operations["download_field_file_api_tool_data__table_name__fields__field_name__files__file_name__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_data/{table_name}/reload": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Reloads a tool data table * @description Reloads a data table and return its details. */ get: operations["reload_api_tool_data__table_name__reload_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_shed_repositories": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Lists installed tool shed repositories. */ get: operations["index_api_tool_shed_repositories_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_shed_repositories/check_for_updates": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Check for updates to the specified repository, or all installed repositories. */ get: operations["check_for_updates_api_tool_shed_repositories_check_for_updates_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tool_shed_repositories/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show installed tool shed repository. */ get: operations["show_api_tool_shed_repositories__id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tools/fetch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Upload files to Galaxy */ post: operations["fetch_form_api_tools_fetch_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tours": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Index * @description Return list of available tours. */ get: operations["index_api_tours_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/tours/{tour_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Show * @description Return a tour definition. */ get: operations["show_api_tours__tour_id__get"]; + put?: never; /** * Update Tour * @description Return a tour definition. */ post: operations["update_tour_api_tours__tour_id__post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get Users * @description Return a collection of users. Filters will only work if enabled in config or user is admin. */ get: operations["get_users_api_users_get"]; + put?: never; /** Create a new Galaxy user. Only admins can create users for now. */ post: operations["create_user_api_users_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/current/recalculate_disk_usage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Triggers a recalculation of the current user disk usage. * @description This route will be removed in a future version. * - * Please use `/api/users/current/recalculate_disk_usage` instead. + * Please use `/api/users/current/recalculate_disk_usage` instead. */ put: operations["recalculate_disk_usage_api_users_current_recalculate_disk_usage_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get Deleted Users * @description Return a collection of deleted users. Only admins can see deleted users. */ get: operations["get_deleted_users_api_users_deleted_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/deleted/{user_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return information about a deleted user. Only admins can see deleted users. */ get: operations["get_deleted_user_api_users_deleted__user_id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/deleted/{user_id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Restore a deleted user. Only admins can restore users. */ post: operations["undelete_user_api_users_deleted__user_id__undelete_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/recalculate_disk_usage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Triggers a recalculation of the current user disk usage. * @deprecated * @description This route will be removed in a future version. * - * Please use `/api/users/current/recalculate_disk_usage` instead. + * Please use `/api/users/current/recalculate_disk_usage` instead. */ put: operations["recalculate_disk_usage_api_users_recalculate_disk_usage_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return information about a specified or the current user. Only admin can see deleted or other users */ get: operations["get_user_api_users__user_id__get"]; /** Update the values of a user. Only admin can update others. */ put: operations["update_user_api_users__user_id__put"]; + post?: never; /** Delete a user. Only admins can delete others or purge users. */ delete: operations["delete_user_api_users__user_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/api_key": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return the user's API key */ get: operations["get_or_create_api_key_api_users__user_id__api_key_get"]; + put?: never; /** Create a new API key for the user */ post: operations["create_api_key_api_users__user_id__api_key_post"]; /** Delete the current API key of the user */ delete: operations["delete_api_key_api_users__user_id__api_key_delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/api_key/detailed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return the user's API key with extra information. */ get: operations["get_api_key_detailed_api_users__user_id__api_key_detailed_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/beacon": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return information about beacon share settings * @description **Warning**: This endpoint is experimental and might change or disappear in future versions. */ get: operations["get_beacon_settings_api_users__user_id__beacon_get"]; + put?: never; /** * Change beacon setting * @description **Warning**: This endpoint is experimental and might change or disappear in future versions. */ post: operations["set_beacon_settings_api_users__user_id__beacon_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/custom_builds": { - /** Returns collection of custom builds. */ + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Returns collection of custom builds. */ get: operations["get_custom_builds_api_users__user_id__custom_builds_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/custom_builds/{key}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Add new custom build. */ put: operations["add_custom_builds_api_users__user_id__custom_builds__key__put"]; + post?: never; /** Delete a custom build */ delete: operations["delete_custom_build_api_users__user_id__custom_builds__key__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/favorites/{object_type}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Add the object to user's favorites */ put: operations["set_favorite_api_users__user_id__favorites__object_type__put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/favorites/{object_type}/{object_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; /** Remove the object from user's favorites */ delete: operations["remove_favorite_api_users__user_id__favorites__object_type___object_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/objectstore_usage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return the user's object store usage summary broken down by object store ID */ get: operations["get_user_objectstore_usage_api_users__user_id__objectstore_usage_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/recalculate_disk_usage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Triggers a recalculation of the current user disk usage. */ put: operations["recalculate_disk_usage_by_user_id_api_users__user_id__recalculate_disk_usage_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/users/{user_id}/roles": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get User Roles + * @description Return a list of roles associated with this user. Only admins can see user roles. + */ + get: operations["get_user_roles_api_users__user_id__roles_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/send_activation_email": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Sends activation email to user. */ post: operations["send_activation_email_api_users__user_id__send_activation_email_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/theme/{theme}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Set the user's theme choice */ put: operations["set_theme_api_users__user_id__theme__theme__put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/usage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return the user's quota usage summary broken down by quota source */ get: operations["get_user_usage_api_users__user_id__usage_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/users/{user_id}/usage/{label}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Return the user's quota usage summary for a given quota source label */ get: operations["get_user_usage_for_label_api_users__user_id__usage__label__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/version": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return Galaxy version information: major/minor version, optional extra info * @description Return Galaxy version information: major/minor version, optional extra info. */ get: operations["version_api_version_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/visualizations": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Returns visualizations for the current user. */ get: operations["index_api_visualizations_get"]; - }; + put?: never; + /** + * Create a new visualization. + * @description Creates a new visualization using the given payload and does not require the import_id field. + * If import_id given, it imports a copy of an existing visualization into the user's workspace and does not require the rest of the payload. + */ + post: operations["create_api_visualizations_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/visualizations/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get a visualization by ID. + * @description Return the visualization. + */ + get: operations["show_api_visualizations__id__get"]; + /** Update a visualization. */ + put: operations["update_api_visualizations__id__put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/visualizations/{id}/disable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item inaccessible by a URL link. * @description Makes this item inaccessible by a URL link and return the current sharing status. */ put: operations["disable_link_access_api_visualizations__id__disable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/visualizations/{id}/enable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item accessible by a URL link. * @description Makes this item accessible by a URL link and return the current sharing status. */ put: operations["enable_link_access_api_visualizations__id__enable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/visualizations/{id}/publish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item public and accessible by a URL link. * @description Makes this item publicly available by a URL link and return the current sharing status. */ put: operations["publish_api_visualizations__id__publish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/visualizations/{id}/share_with_users": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Share this item with specific users. * @description Shares this item with specific users and return the current sharing status. */ put: operations["share_with_users_api_visualizations__id__share_with_users_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/visualizations/{id}/sharing": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get the current sharing status of the given Visualization. * @description Return the sharing status of the item. */ get: operations["sharing_api_visualizations__id__sharing_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/visualizations/{id}/slug": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Set a new slug for this shared item. * @description Sets a new slug to access this item by URL. The new slug must be unique. */ put: operations["set_slug_api_visualizations__id__slug_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/visualizations/{id}/unpublish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Removes this item from the published list. * @description Removes this item from the published list and return the current sharing status. */ put: operations["unpublish_api_visualizations__id__unpublish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/whoami": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Return information about the current authenticated user * @description Return information about the current authenticated user. */ get: operations["whoami_api_whoami_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/workflow_landings": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** Create Landing */ + post: operations["create_landing_api_workflow_landings_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/workflow_landings/{uuid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get Landing */ + get: operations["get_landing_api_workflow_landings__uuid__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/workflow_landings/{uuid}/claim": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** Claim Landing */ + post: operations["claim_landing_api_workflow_landings__uuid__claim_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Lists stored workflows viewable by the user. * @description Lists stored workflows viewable by the user. */ get: operations["index_api_workflows_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/menu": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get workflows present in the tools panel. */ get: operations["get_workflow_menu_api_workflows_menu_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Displays information needed to run a workflow. */ get: operations["show_workflow_api_workflows__workflow_id__get"]; + put?: never; + post?: never; /** Add the deleted flag to a workflow. */ delete: operations["delete_workflow_api_workflows__workflow_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/counts": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get state counts for accessible workflow. */ get: operations["workflows__invocation_counts"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/disable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item inaccessible by a URL link. * @description Makes this item inaccessible by a URL link and return the current sharing status. */ put: operations["disable_link_access_api_workflows__workflow_id__disable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/enable_link_access": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item accessible by a URL link. * @description Makes this item accessible by a URL link and return the current sharing status. */ put: operations["enable_link_access_api_workflows__workflow_id__enable_link_access_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/invocations": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get the list of a user's workflow invocations. */ get: operations["index_invocations_api_workflows__workflow_id__invocations_get"]; + put?: never; /** Schedule the workflow specified by `workflow_id` to run. */ post: operations["Invoke_workflow_api_workflows__workflow_id__invocations_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/invocations/{invocation_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get detailed description of a workflow invocation. * @description An alias for `GET /api/invocations/{invocation_id}`. `workflow_id` is ignored. */ get: operations["show_workflow_invocation_api_workflows__workflow_id__invocations__invocation_id__get"]; + put?: never; + post?: never; /** * Cancel the specified workflow invocation. * @description An alias for `DELETE /api/invocations/{invocation_id}`. `workflow_id` is ignored. */ delete: operations["cancel_workflow_invocation_api_workflows__workflow_id__invocations__invocation_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/invocations/{invocation_id}/jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get job state summary info aggregated across all current jobs of the workflow invocation. * @description An alias for `GET /api/invocations/{invocation_id}/jobs_summary`. `workflow_id` is ignored. */ get: operations["workflow_invocation_jobs_summary_api_workflows__workflow_id__invocations__invocation_id__jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/invocations/{invocation_id}/report": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get JSON summarizing invocation for reporting. * @description An alias for `GET /api/invocations/{invocation_id}/report`. `workflow_id` is ignored. */ get: operations["show_workflow_invocation_report_api_workflows__workflow_id__invocations__invocation_id__report_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/invocations/{invocation_id}/report.pdf": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get PDF summarizing invocation for reporting. * @description An alias for `GET /api/invocations/{invocation_id}/report.pdf`. `workflow_id` is ignored. */ get: operations["show_workflow_invocation_report_pdf_api_workflows__workflow_id__invocations__invocation_id__report_pdf_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/invocations/{invocation_id}/step_jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get job state summary info aggregated per step of the workflow invocation. * @description An alias for `GET /api/invocations/{invocation_id}/step_jobs_summary`. `workflow_id` is ignored. */ get: operations["workflow_invocation_step_jobs_summary_api_workflows__workflow_id__invocations__invocation_id__step_jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/invocations/{invocation_id}/steps/{step_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Show details of workflow invocation step. * @description An alias for `GET /api/invocations/{invocation_id}/steps/{step_id}`. `workflow_id` and `invocation_id` are ignored. @@ -1905,44 +5425,134 @@ export interface paths { * @description An alias for `PUT /api/invocations/{invocation_id}/steps/{step_id}`. `workflow_id` is ignored. */ put: operations["update_workflow_invocation_step_api_workflows__workflow_id__invocations__invocation_id__steps__step_id__put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/publish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Makes this item public and accessible by a URL link. * @description Makes this item publicly available by a URL link and return the current sharing status. */ put: operations["publish_api_workflows__workflow_id__publish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/refactor": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** Updates the workflow stored with the given ID. */ put: operations["refactor_api_workflows__workflow_id__refactor_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/share_with_users": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Share this item with specific users. * @description Shares this item with specific users and return the current sharing status. */ put: operations["share_with_users_api_workflows__workflow_id__share_with_users_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/sharing": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get the current sharing status of the given item. * @description Return the sharing status of the item. */ get: operations["sharing_api_workflows__workflow_id__sharing_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/slug": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Set a new slug for this shared item. * @description Sets a new slug to access this item by URL. The new slug must be unique. */ put: operations["set_slug_api_workflows__workflow_id__slug_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/tags": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show tags based on workflow_id */ get: operations["index_api_workflows__workflow_id__tags_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/tags/{tag_name}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Show tag based on workflow_id */ get: operations["show_api_workflows__workflow_id__tags__tag_name__get"]; /** Update tag based on workflow_id */ @@ -1951,77 +5561,189 @@ export interface paths { post: operations["create_api_workflows__workflow_id__tags__tag_name__post"]; /** Delete tag based on workflow_id */ delete: operations["delete_api_workflows__workflow_id__tags__tag_name__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/undelete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** Remove the deleted flag from a workflow. */ post: operations["undelete_workflow_api_workflows__workflow_id__undelete_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/unpublish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; /** * Removes this item from the published list. * @description Removes this item from the published list and return the current sharing status. */ put: operations["unpublish_api_workflows__workflow_id__unpublish_put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/usage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get the list of a user's workflow invocations. * @deprecated */ get: operations["index_invocations_api_workflows__workflow_id__usage_get"]; + put?: never; /** * Schedule the workflow specified by `workflow_id` to run. * @deprecated */ post: operations["Invoke_workflow_api_workflows__workflow_id__usage_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/usage/{invocation_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get detailed description of a workflow invocation. * @deprecated * @description An alias for `GET /api/invocations/{invocation_id}`. `workflow_id` is ignored. */ get: operations["show_workflow_invocation_api_workflows__workflow_id__usage__invocation_id__get"]; + put?: never; + post?: never; /** * Cancel the specified workflow invocation. * @deprecated * @description An alias for `DELETE /api/invocations/{invocation_id}`. `workflow_id` is ignored. */ delete: operations["cancel_workflow_invocation_api_workflows__workflow_id__usage__invocation_id__delete"]; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/usage/{invocation_id}/jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get job state summary info aggregated across all current jobs of the workflow invocation. * @deprecated * @description An alias for `GET /api/invocations/{invocation_id}/jobs_summary`. `workflow_id` is ignored. */ get: operations["workflow_invocation_jobs_summary_api_workflows__workflow_id__usage__invocation_id__jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/usage/{invocation_id}/report": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get JSON summarizing invocation for reporting. * @deprecated * @description An alias for `GET /api/invocations/{invocation_id}/report`. `workflow_id` is ignored. */ get: operations["show_workflow_invocation_report_api_workflows__workflow_id__usage__invocation_id__report_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/usage/{invocation_id}/report.pdf": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get PDF summarizing invocation for reporting. * @deprecated * @description An alias for `GET /api/invocations/{invocation_id}/report.pdf`. `workflow_id` is ignored. */ get: operations["show_workflow_invocation_report_pdf_api_workflows__workflow_id__usage__invocation_id__report_pdf_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/usage/{invocation_id}/step_jobs_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Get job state summary info aggregated per step of the workflow invocation. * @deprecated * @description An alias for `GET /api/invocations/{invocation_id}/step_jobs_summary`. `workflow_id` is ignored. */ get: operations["workflow_invocation_step_jobs_summary_api_workflows__workflow_id__usage__invocation_id__step_jobs_summary_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/usage/{invocation_id}/steps/{step_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** * Show details of workflow invocation step. * @deprecated @@ -2034,31 +5756,102 @@ export interface paths { * @description An alias for `PUT /api/invocations/{invocation_id}/steps/{step_id}`. `workflow_id` is ignored. */ put: operations["update_workflow_invocation_step_api_workflows__workflow_id__usage__invocation_id__steps__step_id__put"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/api/workflows/{workflow_id}/versions": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** List all versions of a workflow. */ get: operations["show_versions_api_workflows__workflow_id__versions_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/ga4gh/drs/v1/objects/{object_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get Object */ get: operations["get_object_ga4gh_drs_v1_objects__object_id__get"]; + put?: never; /** Get Object */ post: operations["get_object_ga4gh_drs_v1_objects__object_id__post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/ga4gh/drs/v1/objects/{object_id}/access/{access_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Get Access Url */ get: operations["get_access_url_ga4gh_drs_v1_objects__object_id__access__access_id__get"]; + put?: never; /** Get Access Url */ post: operations["get_access_url_ga4gh_drs_v1_objects__object_id__access__access_id__post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "/ga4gh/drs/v1/service-info": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; /** Service Info */ get: operations["service_info_ga4gh_drs_v1_service_info_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/oauth2_callback": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Callback entry point for remote resource responses with OAuth2 authorization codes */ + get: operations["oauth2_callback_oauth2_callback_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } - export type webhooks = Record; - export interface components { schemas: { /** APIKeyModel */ @@ -2134,22 +5927,21 @@ export interface components { /** AddInputAction */ AddInputAction: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "add_input"; /** Collection Type */ collection_type?: string | null; /** Default */ - default?: Record | null; + default?: unknown | null; /** Label */ label?: string | null; /** * Optional * @default false */ - optional?: boolean | null; + optional: boolean | null; position?: components["schemas"]["Position"] | null; /** Restrict On Connections */ restrict_on_connections?: boolean | null; @@ -2164,14 +5956,13 @@ export interface components { * AddStepAction * @description Add a new action to the workflow. * - * After the workflow is updated, an order_index will be assigned - * and this step may cause other steps to have their output_index - * adjusted. + * After the workflow is updated, an order_index will be assigned + * and this step may cause other steps to have their output_index + * adjusted. */ AddStepAction: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "add_step"; @@ -2201,7 +5992,7 @@ export interface components { * Quota percent * @description Percentage of the storage quota applicable to the user. */ - quota_percent?: Record; + quota_percent?: number | null; /** * Total disk usage * @description Size of all non-purged, unique datasets of the user in bytes. @@ -2220,7 +6011,7 @@ export interface components { * @description Whether to purge the history after archiving it. It requires an `archive_export_id` to be set. * @default false */ - purge_history?: boolean; + purge_history: boolean; }; /** ArchivedHistoryDetailed */ ArchivedHistoryDetailed: { @@ -2265,7 +6056,7 @@ export interface components { * @description TODO * @default ? */ - genome_build?: string | null; + genome_build: string | null; /** * History ID * @example 0123456789ABCDEF @@ -2323,14 +6114,14 @@ export interface components { * @description A dictionary keyed to possible dataset states and valued with the number of datasets in this history that have those states. */ state_details: { - [key: string]: number | undefined; + [key: string]: number; }; /** * State IDs * @description A dictionary keyed to possible dataset states and valued with lists containing the ids of each HDA in that state. */ state_ids: { - [key: string]: string[] | undefined; + [key: string]: string[]; }; tags: components["schemas"]["TagCollection"]; /** @@ -2527,29 +6318,95 @@ export interface components { * All Datasets * @default true */ - all_datasets?: Record; + all_datasets: unknown; /** Archive File */ - archive_file?: Record; + archive_file?: unknown; /** Archive Source */ - archive_source?: Record; + archive_source?: unknown; /** * Archive Type * @default url */ - archive_type?: Record; + archive_type: unknown; /** History Id */ - history_id?: Record; + history_id?: unknown; /** Name */ - name?: Record; + name?: unknown; + }; + /** Body_create_form_api_libraries__library_id__contents_post */ + Body_create_form_api_libraries__library_id__contents_post: { + /** Create Type */ + create_type: unknown; + /** + * Dbkey + * @default ? + */ + dbkey: unknown; + /** Extended Metadata */ + extended_metadata?: unknown; + /** File Type */ + file_type?: unknown; + /** Files */ + files?: string[] | null; + /** + * Filesystem Paths + * @default + */ + filesystem_paths: unknown; + /** Folder Id */ + folder_id: unknown; + /** From Hda Id */ + from_hda_id?: unknown; + /** From Hdca Id */ + from_hdca_id?: unknown; + /** + * Ldda Message + * @default + */ + ldda_message: unknown; + /** + * Link Data Only + * @default copy_files + */ + link_data_only: unknown; + /** + * Roles + * @default + */ + roles: unknown; + /** + * Server Dir + * @default + */ + server_dir: unknown; + /** + * Tag Using Filenames + * @default false + */ + tag_using_filenames: unknown; + /** + * Tags + * @default [] + */ + tags: unknown; + /** Upload Files */ + upload_files?: unknown; + /** + * Upload Option + * @default upload_file + */ + upload_option: unknown; + /** Uuid */ + uuid?: unknown; }; /** Body_fetch_form_api_tools_fetch_post */ Body_fetch_form_api_tools_fetch_post: { /** Files */ files?: string[] | null; /** History Id */ - history_id: Record; + history_id: unknown; /** Targets */ - targets: Record; + targets: unknown; }; /** BroadcastNotificationContent */ BroadcastNotificationContent: { @@ -2559,12 +6416,10 @@ export interface components { */ action_links?: components["schemas"]["ActionLink"][] | null; /** - * Category - * @default broadcast - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ - category?: "broadcast"; + category: "broadcast"; /** * Message * @description The message of the notification (supports Markdown). @@ -2587,7 +6442,7 @@ export interface components { * @constant * @enum {string} */ - category?: "broadcast"; + category: "broadcast"; /** * Content * @description The content of the broadcast notification. Broadcast notifications are displayed prominently to all users and can contain action links to redirect the user to a specific page. @@ -2630,7 +6485,7 @@ export interface components { * @constant * @enum {string} */ - category?: "broadcast"; + category: "broadcast"; content: components["schemas"]["BroadcastNotificationContent"]; /** * Create time @@ -2708,12 +6563,12 @@ export interface components { /** * @description Features supported by this file source. * @default { - * "pagination": false, - * "search": false, - * "sorting": false - * } + * "pagination": false, + * "search": false, + * "sorting": false + * } */ - supports?: components["schemas"]["FilesSourceSupports"]; + supports: components["schemas"]["FilesSourceSupports"]; /** * Type * @description The type of the plugin. @@ -2763,6 +6618,20 @@ export interface components { */ type: "change_dbkey"; }; + /** ChatPayload */ + ChatPayload: { + /** + * Context + * @description The context for the chatbot. + * @default + */ + context: string | null; + /** + * Query + * @description The query to be sent to the chatbot. + */ + query: string; + }; /** CheckForUpdatesResponse */ CheckForUpdatesResponse: { /** @@ -2787,11 +6656,16 @@ export interface components { /** * Type * @description The digest method used to create the checksum. - * The value (e.g. `sha-256`) SHOULD be listed as `Hash Name String` in the https://www.iana.org/assignments/named-information/named-information.xhtml#hash-alg[IANA Named Information Hash Algorithm Registry]. Other values MAY be used, as long as implementors are aware of the issues discussed in https://tools.ietf.org/html/rfc6920#section-9.4[RFC6920]. - * GA4GH may provide more explicit guidance for use of non-IANA-registered algorithms in the future. Until then, if implementers do choose such an algorithm (e.g. because it's implemented by their storage provider), they SHOULD use an existing standard `type` value such as `md5`, `etag`, `crc32c`, `trunc512`, or `sha1`. + * The value (e.g. `sha-256`) SHOULD be listed as `Hash Name String` in the https://www.iana.org/assignments/named-information/named-information.xhtml#hash-alg[IANA Named Information Hash Algorithm Registry]. Other values MAY be used, as long as implementors are aware of the issues discussed in https://tools.ietf.org/html/rfc6920#section-9.4[RFC6920]. + * GA4GH may provide more explicit guidance for use of non-IANA-registered algorithms in the future. Until then, if implementers do choose such an algorithm (e.g. because it's implemented by their storage provider), they SHOULD use an existing standard `type` value such as `md5`, `etag`, `crc32c`, `trunc512`, or `sha1`. */ type: string; }; + /** ClaimLandingPayload */ + ClaimLandingPayload: { + /** Client Secret */ + client_secret?: string | null; + }; /** CleanableItemsSummary */ CleanableItemsSummary: { /** @@ -2810,85 +6684,6 @@ export interface components { /** Item Ids */ item_ids: string[]; }; - /** CloudDatasets */ - CloudDatasets: { - /** - * Authentication ID - * @description The ID of CloudAuthz to be used for authorizing access to the resource provider. You may get a list of the defined authorizations via `/api/cloud/authz`. Also, you can use `/api/cloud/authz/create` to define a new authorization. - * @example 0123456789ABCDEF - */ - authz_id: string; - /** - * Bucket - * @description The name of a bucket to which data should be sent (e.g., a bucket name on AWS S3). - */ - bucket: string; - /** - * Objects - * @description A list of dataset IDs belonging to the specified history that should be sent to the given bucket. If not provided, Galaxy sends all the datasets belonging the specified history. - */ - dataset_ids?: string[] | null; - /** - * History ID - * @description The ID of history from which the object should be downloaded - * @example 0123456789ABCDEF - */ - history_id: string; - /** - * Spaces to tabs - * @description A boolean value. If set to 'True', and an object with same name of the dataset to be sent already exist in the bucket, Galaxy replaces the existing object with the dataset to be sent. If set to 'False', Galaxy appends datetime to the dataset name to prevent overwriting an existing object. - * @default false - */ - overwrite_existing?: boolean | null; - }; - /** CloudDatasetsResponse */ - CloudDatasetsResponse: { - /** - * Bucket - * @description The name of bucket to which the listed datasets are queued to be sent - */ - bucket_name: string; - /** - * Failed datasets - * @description The datasets for which Galaxy failed to create (and queue) send job - */ - failed_dataset_labels: string[]; - /** - * Send datasets - * @description The datasets for which Galaxy succeeded to create (and queue) send job - */ - sent_dataset_labels: string[]; - }; - /** CloudObjects */ - CloudObjects: { - /** - * Authentication ID - * @description The ID of CloudAuthz to be used for authorizing access to the resource provider. You may get a list of the defined authorizations via `/api/cloud/authz`. Also, you can use `/api/cloud/authz/create` to define a new authorization. - * @example 0123456789ABCDEF - */ - authz_id: string; - /** - * Bucket - * @description The name of a bucket from which data should be fetched from (e.g., a bucket name on AWS S3). - */ - bucket: string; - /** - * History ID - * @description The ID of history to which the object should be received to. - * @example 0123456789ABCDEF - */ - history_id: string; - /** - * Input arguments - * @description A summary of the input arguments, which is optional and will default to {}. - */ - input_args?: components["schemas"]["InputArguments"] | null; - /** - * Objects - * @description A list of the names of objects to be fetched. - */ - objects: string[]; - }; /** CollectionElementIdentifier */ CollectionElementIdentifier: { /** @@ -2931,12 +6726,18 @@ export interface components { CompositeDataElement: { /** Md5 */ MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Collection Type */ collection_type?: string | null; composite: components["schemas"]["CompositeItems"]; @@ -2946,12 +6747,12 @@ export interface components { * Dbkey * @default ? */ - dbkey?: string; + dbkey: string; /** * Deferred * @default false */ - deferred?: boolean; + deferred: boolean; /** Description */ description?: string | null; elements_from?: components["schemas"]["ElementsFromType"] | null; @@ -2959,20 +6760,23 @@ export interface components { * Ext * @default auto */ - ext?: string; + ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; /** Info */ info?: string | null; + /** Metadata */ + metadata?: Record | null; /** Name */ - name?: string | number | number | boolean | null; + name?: string | number | boolean | null; /** * Space To Tab * @default false */ - space_to_tab?: boolean; + space_to_tab: boolean; /** - * Src - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ src: "composite"; @@ -2982,7 +6786,7 @@ export interface components { * To Posix Lines * @default false */ - to_posix_lines?: boolean; + to_posix_lines: boolean; }; /** CompositeFileInfo */ CompositeFileInfo: { @@ -3038,7 +6842,7 @@ export interface components { * @description Hash function name to use to compute dataset hashes. * @default MD5 */ - hash_function?: components["schemas"]["HashFunctionNameEnum"] | null; + hash_function: components["schemas"]["HashFunctionNameEnum"] | null; }; /** ConcreteObjectStoreModel */ ConcreteObjectStoreModel: { @@ -3072,8 +6876,7 @@ export interface components { /** ConnectAction */ ConnectAction: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "connect"; @@ -3111,11 +6914,11 @@ export interface components { * ConvertedDatasetsMap * @description Map of `file extension` -> `converted dataset encoded id` * @example { - * "csv": "dataset_id" - * } + * "csv": "dataset_id" + * } */ ConvertedDatasetsMap: { - [key: string]: string | undefined; + [key: string]: string; }; /** CreateEntryPayload */ CreateEntryPayload: { @@ -3148,10 +6951,11 @@ export interface components { /** * Content * @description Depending on the `source` it can be: - * - The encoded id from the library dataset - * - The encoded id from the library folder - * - The encoded id from the HDA - * - The encoded id from the HDCA + * - The encoded id from the library dataset + * - The encoded id from the library folder + * - The encoded id from the HDA + * - The encoded id from the HDCA + * */ content?: string | null; /** @@ -3159,7 +6963,7 @@ export interface components { * @description If the source is a collection, whether to copy child HDAs into the target history as well. Prior to the galaxy release 23.1 this defaulted to false. * @default true */ - copy_elements?: boolean | null; + copy_elements: boolean | null; /** * DBKey * @description TODO @@ -3180,7 +6984,7 @@ export interface components { * @description Whether to mark the original HDAs as hidden. * @default false */ - hide_source_items?: boolean | null; + hide_source_items: boolean | null; /** * History Id * @description The ID of the history that will contain the collection. Required if `instance_type=history`. @@ -3191,7 +6995,7 @@ export interface components { * @description The type of the instance, either `history` (default) or `library`. * @default history */ - instance_type?: ("history" | "library") | null; + instance_type: ("history" | "library") | null; /** * Name * @description The name of the new collection. @@ -3207,8 +7011,9 @@ export interface components { * @description The type of content to be created in the history. * @default dataset */ - type?: components["schemas"]["HistoryContentType"] | null; - [key: string]: unknown | undefined; + type: components["schemas"]["HistoryContentType"] | null; + } & { + [key: string]: unknown; }; /** CreateHistoryFromStore */ CreateHistoryFromStore: { @@ -3226,15 +7031,17 @@ export interface components { name: string; /** Secrets */ secrets: { - [key: string]: string | undefined; + [key: string]: string; }; /** Template Id */ template_id: string; /** Template Version */ template_version: number; + /** Uuid */ + uuid?: string | null; /** Variables */ variables: { - [key: string]: (string | boolean | number) | undefined; + [key: string]: string | boolean | number; }; }; /** CreateInvocationsFromStorePayload */ @@ -3249,19 +7056,19 @@ export interface components { * Legacy Job State * @deprecated * @description Populate the invocation step state with the job state instead of the invocation step state. - * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. - * Partially scheduled steps may provide incomplete information and the listed steps outputs - * are not the mapped over step outputs but the individual job outputs. + * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. + * Partially scheduled steps may provide incomplete information and the listed steps outputs + * are not the mapped over step outputs but the individual job outputs. * @default false */ - legacy_job_state?: boolean; + legacy_job_state: boolean; model_store_format?: components["schemas"]["ModelStoreFormat"] | null; /** * Include step details * @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary * @default false */ - step_details?: boolean; + step_details: boolean; /** Store Content Uri */ store_content_uri?: string | null; /** Store Dict */ @@ -3297,7 +7104,7 @@ export interface components { * @description The new message attribute of the LDDA created. * @default */ - ldda_message?: string | null; + ldda_message: string | null; }; /** CreateLibraryFolderPayload */ CreateLibraryFolderPayload: { @@ -3306,7 +7113,7 @@ export interface components { * @description A detailed description of the library folder. * @default */ - description?: string | null; + description: string | null; /** * Name * @description The name of the library folder. @@ -3320,7 +7127,7 @@ export interface components { * @description A detailed description of the Library. * @default */ - description?: string | null; + description: string | null; /** * Name * @description The name of the Library. @@ -3331,7 +7138,7 @@ export interface components { * @description A short text describing the contents of the Library. * @default */ - synopsis?: string | null; + synopsis: string | null; }; /** CreateMetricsPayload */ CreateMetricsPayload: { @@ -3339,7 +7146,7 @@ export interface components { * List of metrics to be recorded. * @default [] */ - metrics?: components["schemas"]["Metric"][]; + metrics: components["schemas"]["Metric"][]; }; /** CreateNewCollectionPayload */ CreateNewCollectionPayload: { @@ -3353,7 +7160,7 @@ export interface components { * @description Whether to create a copy of the source HDAs for the new collection. * @default true */ - copy_elements?: boolean | null; + copy_elements: boolean | null; /** * Element Identifiers * @description List of elements that should be in the new collection. @@ -3369,7 +7176,7 @@ export interface components { * @description Whether to mark the original HDAs as hidden. * @default false */ - hide_source_items?: boolean | null; + hide_source_items: boolean | null; /** * History Id * @description The ID of the history that will contain the collection. Required if `instance_type=history`. @@ -3380,7 +7187,7 @@ export interface components { * @description The type of the instance, either `history` (default) or `library`. * @default history */ - instance_type?: ("history" | "library") | null; + instance_type: ("history" | "library") | null; /** * Name * @description The name of the new collection. @@ -3399,13 +7206,13 @@ export interface components { * @description Raw text contents of the last page revision (type dependent on content_format). * @default */ - content?: string | null; + content: string | null; /** * Content format * @description Either `markdown` or `html`. * @default html */ - content_format?: components["schemas"]["PageContentFormat"]; + content_format: components["schemas"]["PageContentFormat"]; /** * Workflow invocation ID * @description Encoded ID used by workflow generated reports. @@ -3421,7 +7228,8 @@ export interface components { * @description The name of the page. */ title: string; - [key: string]: unknown | undefined; + } & { + [key: string]: unknown; }; /** CreateQuotaParams */ CreateQuotaParams: { @@ -3435,7 +7243,7 @@ export interface components { * @description Whether or not this is a default quota. Valid values are ``no``, ``unregistered``, ``registered``. None is equivalent to ``no``. * @default no */ - default?: components["schemas"]["DefaultQuotaValues"]; + default: components["schemas"]["DefaultQuotaValues"]; /** * Description * @description Detailed text description for this Quota. @@ -3446,13 +7254,13 @@ export interface components { * @description A list of group IDs or names to associate with this quota. * @default [] */ - in_groups?: string[] | null; + in_groups: string[] | null; /** * Users * @description A list of user IDs or user emails to associate with this quota. * @default [] */ - in_users?: string[] | null; + in_users: string[] | null; /** * Name * @description The name of the quota. This must be unique within a Galaxy instance. @@ -3463,7 +7271,7 @@ export interface components { * @description Quotas can have one of three `operations`:- `=` : The quota is exactly the amount specified- `+` : The amount specified will be added to the amounts of the user's other associated quota definitions- `-` : The amount specified will be subtracted from the amounts of the user's other associated quota definitions * @default = */ - operation?: components["schemas"]["QuotaOperation"]; + operation: components["schemas"]["QuotaOperation"]; /** * Quota Source Label * @description If set, quota source label to apply this quota operation to. Otherwise, the default quota is used. @@ -3507,6 +7315,31 @@ export interface components { */ url: string; }; + /** + * CreateType + * @enum {string} + */ + CreateType: "file" | "folder" | "collection"; + /** CreateWorkflowLandingRequestPayload */ + CreateWorkflowLandingRequestPayload: { + /** Client Secret */ + client_secret?: string | null; + /** + * Public + * @description If workflow landing request is public anyone with the uuid can use the landing request. If not public the request must be claimed before use and additional verification might occur. + * @default false + */ + public: boolean; + /** Request State */ + request_state?: Record | null; + /** Workflow Id */ + workflow_id: string; + /** + * Workflow Target Type + * @enum {string} + */ + workflow_target_type: "stored_workflow" | "workflow" | "trs_url"; + }; /** CreatedEntryResponse */ CreatedEntryResponse: { /** @@ -3578,48 +7411,200 @@ export interface components { */ username: string; }; - /** CustomBuildCreationPayload */ - CustomBuildCreationPayload: { + /** CustomArchivedHistoryView */ + CustomArchivedHistoryView: { /** - * Length type - * @description The type of the len file. + * Annotation + * @description An annotation to provide details or to help understand the purpose and usage of this item. */ - "len|type": components["schemas"]["CustomBuildLenType"]; + annotation?: string | null; /** - * Length value - * @description The content of the length file. + * Archived + * @description Whether this item has been archived and is no longer active. */ - "len|value": string; + archived?: boolean | null; /** - * Name - * @description The name of the custom build. + * Contents Active + * @description Contains the number of active, deleted or hidden items in a History. */ - name: string; - }; - /** - * CustomBuildLenType - * @enum {string} - */ - CustomBuildLenType: "file" | "fasta" | "text"; - /** CustomBuildModel */ - CustomBuildModel: { + contents_active?: components["schemas"]["HistoryActiveContentCounts"] | null; /** - * Count - * @description The number of chromosomes/contigs. + * Contents States + * @description A dictionary keyed to possible dataset states and valued with the number of datasets in this history that have those states. */ - count?: string | null; + contents_states?: { + [key: string]: number; + } | null; /** - * Fasta - * @description The primary id of the fasta file from a history. + * Contents URL + * @description The relative URL to access the contents of this History. */ - fasta?: string | null; + contents_url?: string | null; /** - * ID - * @description The ID of the custom build. + * Count + * @description The number of items in the history. */ - id: string; + count?: number | null; /** - * Length + * Create Time + * @description The time and date this item was created. + */ + create_time?: string | null; + /** + * Deleted + * @description Whether this item is marked as deleted. + */ + deleted?: boolean | null; + /** + * Export Record Data + * @description The export record data associated with this archived history. Used to recover the history. + */ + export_record_data?: components["schemas"]["ExportRecordData"] | null; + /** + * Genome Build + * @description TODO + */ + genome_build?: string | null; + /** + * History ID + * @example 0123456789ABCDEF + */ + id?: string; + /** + * Importable + * @description Whether this History can be imported by other users with a shared link. + */ + importable?: boolean | null; + /** + * Model class + * @description The name of the database model class. + * @constant + */ + model_class?: "History"; + /** + * Name + * @description The name of the history. + */ + name?: string | null; + /** + * Nice Size + * @description The total size of the contents of this history in a human-readable format. + */ + nice_size?: string | null; + /** + * Preferred Object Store ID + * @description The ID of the object store that should be used to store new datasets in this history. + */ + preferred_object_store_id?: string | null; + /** + * Published + * @description Whether this resource is currently publicly available to all users. + */ + published?: boolean | null; + /** + * Purged + * @description Whether this item has been permanently removed. + */ + purged?: boolean | null; + /** + * Size + * @description The total size of the contents of this history in bytes. + */ + size?: number | null; + /** + * Slug + * @description Part of the URL to uniquely identify this History by link in a readable way. + */ + slug?: string | null; + /** + * State + * @description The current state of the History based on the states of the datasets it contains. + */ + state?: components["schemas"]["DatasetState"] | null; + /** + * State Counts + * @description A dictionary keyed to possible dataset states and valued with the number of datasets in this history that have those states. + */ + state_details?: { + [key: string]: number; + } | null; + /** + * State IDs + * @description A dictionary keyed to possible dataset states and valued with lists containing the ids of each HDA in that state. + */ + state_ids?: { + [key: string]: string[]; + } | null; + tags?: components["schemas"]["TagCollection"] | null; + /** + * Update Time + * @description The last time and date this item was updated. + */ + update_time?: string | null; + /** + * URL + * @deprecated + * @description The relative URL to access this item. + */ + url?: string | null; + /** + * User ID + * @description The encoded ID of the user that owns this History. + */ + user_id?: string | null; + /** + * Username + * @description Owner of the history + */ + username?: string | null; + /** + * Username and slug + * @description The relative URL in the form of /u/{username}/h/{slug} + */ + username_and_slug?: string | null; + }; + /** CustomBuildCreationPayload */ + CustomBuildCreationPayload: { + /** + * Length type + * @description The type of the len file. + */ + "len|type": components["schemas"]["CustomBuildLenType"]; + /** + * Length value + * @description The content of the length file. + */ + "len|value": string; + /** + * Name + * @description The name of the custom build. + */ + name: string; + }; + /** + * CustomBuildLenType + * @enum {string} + */ + CustomBuildLenType: "file" | "fasta" | "text"; + /** CustomBuildModel */ + CustomBuildModel: { + /** + * Count + * @description The number of chromosomes/contigs. + */ + count?: string | null; + /** + * Fasta + * @description The primary id of the fasta file from a history. + */ + fasta?: string | null; + /** + * ID + * @description The ID of the custom build. + */ + id: string; + /** + * Length * @description The primary id of the len file. * @example 0123456789ABCDEF */ @@ -3645,8 +7630,9 @@ export interface components { /** * Fasta HDAs * @description A list of label/value pairs with all the datasets of type `FASTA` contained in the History. - * - `label` is item position followed by the name of the dataset. - * - `value` is the encoded database ID of the dataset. + * - `label` is item position followed by the name of the dataset. + * - `value` is the encoded database ID of the dataset. + * */ fasta_hdas: components["schemas"]["LabelValuePair"][]; /** @@ -3677,7 +7663,7 @@ export interface components { * @description A dictionary keyed to possible dataset states and valued with the number of datasets in this history that have those states. */ contents_states?: { - [key: string]: number | undefined; + [key: string]: number; } | null; /** * Contents URL @@ -3765,14 +7751,14 @@ export interface components { * @description A dictionary keyed to possible dataset states and valued with the number of datasets in this history that have those states. */ state_details?: { - [key: string]: number | undefined; + [key: string]: number; } | null; /** * State IDs * @description A dictionary keyed to possible dataset states and valued with lists containing the ids of each HDA in that state. */ state_ids?: { - [key: string]: string[] | undefined; + [key: string]: string[]; } | null; tags?: components["schemas"]["TagCollection"] | null; /** @@ -3872,7 +7858,7 @@ export interface components { * @description The summary information of each of the elements inside the dataset collection. * @default [] */ - elements?: components["schemas"]["DCESummary"][]; + elements: components["schemas"]["DCESummary"][]; /** * Dataset Collection ID * @example 0123456789ABCDEF @@ -3898,7 +7884,7 @@ export interface components { * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Destination */ destination: | components["schemas"]["HdaDestination"] @@ -3922,7 +7908,7 @@ export interface components { * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Destination */ destination: | components["schemas"]["HdaDestination"] @@ -3954,19 +7940,19 @@ export interface components { * @description A list of roles that can access the dataset. The user has to **have all these roles** in order to access this dataset. Users without access permission **cannot** have other permissions on this dataset. If there are no access roles set on the dataset it is considered **unrestricted**. * @default [] */ - access_dataset_roles?: string[][]; + access_dataset_roles: string[][]; /** * Manage Roles * @description A list of roles that can manage permissions on the dataset. Users with **any** of these roles can manage permissions of this dataset. If you remove yourself you will lose the ability to manage this dataset unless you are an admin. * @default [] */ - manage_dataset_roles?: string[][]; + manage_dataset_roles: string[][]; /** * Modify Roles * @description A list of roles that can modify the library item. This is a library related permission. User with **any** of these roles can modify name, metadata, and other information about this library item. * @default [] */ - modify_item_roles?: string[][]; + modify_item_roles: string[][]; }; /** DatasetCollectionAttributesResult */ DatasetCollectionAttributesResult: { @@ -4073,6 +8059,11 @@ export interface components { */ name: string; }; + /** + * DatasetPermissionAction + * @enum {string} + */ + DatasetPermissionAction: "set_permissions" | "make_private" | "remove_restrictions"; /** * DatasetPermissions * @description Role-based permissions for accessing and managing a dataset. @@ -4083,13 +8074,13 @@ export interface components { * @description The set of roles (encoded IDs) that can access this dataset. * @default [] */ - access?: string[]; + access: string[]; /** * Management * @description The set of roles (encoded IDs) that can manage this dataset. * @default [] */ - manage?: string[]; + manage: string[]; }; /** DatasetSource */ DatasetSource: { @@ -4113,7 +8104,7 @@ export interface components { * Transform * @description The transformations applied to the dataset source. */ - transform?: Record[] | null; + transform?: unknown[] | null; }; /** DatasetSourceId */ DatasetSourceId: { @@ -4149,9 +8140,8 @@ export interface components { | "setting_metadata" | "failed_metadata" | "deferred" -/** ndip_todo: is this a right place? */ - | "stopped" - | "discarded"; + | "discarded" + | "stopped"; /** DatasetStorageDetails */ DatasetStorageDetails: { /** @@ -4207,47 +8197,6 @@ export interface components { */ sources: Record[]; }; - /** DatasetSummary */ - DatasetSummary: { - /** - * Create Time - * @description The time and date this item was created. - */ - create_time: string | null; - /** Deleted */ - deleted: boolean; - /** File Size */ - file_size: number; - /** - * Id - * @example 0123456789ABCDEF - */ - id: string; - /** Purgable */ - purgable: boolean; - /** Purged */ - purged: boolean; - /** - * State - * @description The current state of this dataset. - */ - state: components["schemas"]["DatasetState"]; - /** Total Size */ - total_size: number; - /** - * Update Time - * @description The last time and date this item was updated. - */ - update_time: string | null; - /** - * UUID - * Format: uuid4 - * @description Universal unique identifier for this dataset. - */ - uuid: string; - }; - /** DatasetSummaryList */ - DatasetSummaryList: components["schemas"]["DatasetSummary"][]; /** DatasetTextContentDetails */ DatasetTextContentDetails: { /** @@ -4316,7 +8265,7 @@ export interface components { * @description If True, the associated file extension will be displayed in the `File Format` select list in the `Upload File from your computer` tool in the `Get Data` tool section of the tool panel * @default false */ - display_in_upload?: boolean; + display_in_upload: boolean; /** * Extension * @description The data type’s Dataset file extension @@ -4364,7 +8313,7 @@ export interface components { * @default {} */ DatatypesEDAMDetailsDict: { - [key: string]: components["schemas"]["DatatypeEDAMDetails"] | undefined; + [key: string]: components["schemas"]["DatatypeEDAMDetails"]; }; /** DatatypesMap */ DatatypesMap: { @@ -4373,18 +8322,16 @@ export interface components { * @description Dictionary mapping datatype's classes with their base classes */ class_to_classes: { - [key: string]: - | { - [key: string]: boolean | undefined; - } - | undefined; + [key: string]: { + [key: string]: boolean; + }; }; /** * Extension Map * @description Dictionary mapping datatype's extensions with implementation classes */ ext_to_class_name: { - [key: string]: string | undefined; + [key: string]: string; }; }; /** DefaultQuota */ @@ -4399,8 +8346,9 @@ export interface components { /** * Type * @description The type of the default quota. Either one of: - * - `registered`: the associated quota will affect registered users. - * - `unregistered`: the associated quota will affect unregistered users. + * - `registered`: the associated quota will affect registered users. + * - `unregistered`: the associated quota will affect unregistered users. + * */ type: components["schemas"]["DefaultQuotaTypes"]; }; @@ -4426,7 +8374,7 @@ export interface components { * @description Whether to permanently delete from disk the specified datasets. *Warning*: this is a destructive operation. * @default false */ - purge?: boolean | null; + purge: boolean | null; }; /** DeleteDatasetBatchResult */ DeleteDatasetBatchResult: { @@ -4453,7 +8401,7 @@ export interface components { * @description Whether to definitely remove this history from disk. * @default false */ - purge?: boolean; + purge: boolean; }; /** DeleteHistoryContentPayload */ DeleteHistoryContentPayload: { @@ -4462,25 +8410,25 @@ export interface components { * @description Whether to remove the dataset from storage. Datasets will only be removed from storage once all HDAs or LDDAs that refer to this datasets are deleted. * @default false */ - purge?: boolean; + purge: boolean; /** * Recursive * @description When deleting a dataset collection, whether to also delete containing datasets. * @default false */ - recursive?: boolean; + recursive: boolean; /** * Stop Job * @description Whether to stop the creating job if all the job's outputs are deleted. * @default false */ - stop_job?: boolean; + stop_job: boolean; }; /** * DeleteHistoryContentResult * @description Contains minimum information about the deletion state of a history item. * - * Can also contain any other properties of the item. + * Can also contain any other properties of the item. */ DeleteHistoryContentResult: { /** @@ -4507,7 +8455,7 @@ export interface components { * @description Whether to definitely remove this history from disk. * @default false */ - purge?: boolean; + purge: boolean; }; /** DeleteJobPayload */ DeleteJobPayload: { @@ -4532,7 +8480,7 @@ export interface components { * @description Whether to also purge the Quota after deleting it. * @default false */ - purge?: boolean; + purge: boolean; }; /** DeletedCustomBuild */ DeletedCustomBuild: { @@ -4594,12 +8542,12 @@ export interface components { * Quota in bytes * @description Quota applicable to the user in bytes. */ - quota_bytes: Record; + quota_bytes?: number | null; /** * Quota percent * @description Percentage of the storage quota applicable to the user. */ - quota_percent?: Record; + quota_percent?: number | null; /** * Tags used * @description Tags used by the user @@ -4619,8 +8567,7 @@ export interface components { /** DisconnectAction */ DisconnectAction: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "disconnect"; @@ -4649,7 +8596,7 @@ export interface components { }; /** DisplayApplication */ DisplayApplication: { - /** Filename */ + /** Filename */ filename_: string; /** Id */ id: string; @@ -4665,7 +8612,7 @@ export interface components { /** * Access Methods * @description The list of access methods that can be used to fetch the `DrsObject`. - * Required for single blobs; optional for bundles. + * Required for single blobs; optional for bundles. */ access_methods?: components["schemas"]["AccessMethod"][] | null; /** @@ -4676,30 +8623,30 @@ export interface components { /** * Checksums * @description The checksum of the `DrsObject`. At least one checksum must be provided. - * For blobs, the checksum is computed over the bytes in the blob. - * For bundles, the checksum is computed over a sorted concatenation of the checksums of its top-level contained objects (not recursive, names not included). The list of checksums is sorted alphabetically (hex-code) before concatenation and a further checksum is performed on the concatenated checksum value. - * For example, if a bundle contains blobs with the following checksums: - * md5(blob1) = 72794b6d - * md5(blob2) = 5e089d29 - * Then the checksum of the bundle is: - * md5( concat( sort( md5(blob1), md5(blob2) ) ) ) - * = md5( concat( sort( 72794b6d, 5e089d29 ) ) ) - * = md5( concat( 5e089d29, 72794b6d ) ) - * = md5( 5e089d2972794b6d ) - * = f7a29a04 + * For blobs, the checksum is computed over the bytes in the blob. + * For bundles, the checksum is computed over a sorted concatenation of the checksums of its top-level contained objects (not recursive, names not included). The list of checksums is sorted alphabetically (hex-code) before concatenation and a further checksum is performed on the concatenated checksum value. + * For example, if a bundle contains blobs with the following checksums: + * md5(blob1) = 72794b6d + * md5(blob2) = 5e089d29 + * Then the checksum of the bundle is: + * md5( concat( sort( md5(blob1), md5(blob2) ) ) ) + * = md5( concat( sort( 72794b6d, 5e089d29 ) ) ) + * = md5( concat( 5e089d29, 72794b6d ) ) + * = md5( 5e089d2972794b6d ) + * = f7a29a04 */ checksums: components["schemas"]["Checksum"][]; /** * Contents * @description If not set, this `DrsObject` is a single blob. - * If set, this `DrsObject` is a bundle containing the listed `ContentsObject` s (some of which may be further nested). + * If set, this `DrsObject` is a bundle containing the listed `ContentsObject` s (some of which may be further nested). */ contents?: components["schemas"]["ContentsObject"][] | null; /** * Created Time * Format: date-time * @description Timestamp of content creation in RFC3339. - * (This is the creation time of the underlying content, not of the JSON object.) + * (This is the creation time of the underlying content, not of the JSON object.) */ created_time: string; /** @@ -4720,19 +8667,19 @@ export interface components { /** * Name * @description A string that can be used to name a `DrsObject`. - * This string is made up of uppercase and lowercase letters, decimal digits, hyphen, period, and underscore [A-Za-z0-9.-_]. See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_282[portable filenames]. + * This string is made up of uppercase and lowercase letters, decimal digits, hyphen, period, and underscore [A-Za-z0-9.-_]. See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_282[portable filenames]. */ name?: string | null; /** * Self Uri * @description A drs:// hostname-based URI, as defined in the DRS documentation, that tells clients how to access this object. - * The intent of this field is to make DRS objects self-contained, and therefore easier for clients to store and pass around. For example, if you arrive at this DRS JSON by resolving a compact identifier-based DRS URI, the `self_uri` presents you with a hostname and properly encoded DRS ID for use in subsequent `access` endpoint calls. + * The intent of this field is to make DRS objects self-contained, and therefore easier for clients to store and pass around. For example, if you arrive at this DRS JSON by resolving a compact identifier-based DRS URI, the `self_uri` presents you with a hostname and properly encoded DRS ID for use in subsequent `access` endpoint calls. */ self_uri: string; /** * Size * @description For blobs, the blob size in bytes. - * For bundles, the cumulative size, in bytes, of items in the `contents` field. + * For bundles, the cumulative size, in bytes, of items in the `contents` field. */ size: number; /** @@ -4743,7 +8690,7 @@ export interface components { /** * Version * @description A string representing a version. - * (Some systems may use checksum, a RFC3339 timestamp, or an incrementing version number.) + * (Some systems may use checksum, a RFC3339 timestamp, or an incrementing version number.) */ version?: string | null; }; @@ -4883,8 +8830,8 @@ export interface components { * @description Dictionary mapping all the tool inputs (by name) to the corresponding data references. * @default {} */ - inputs?: { - [key: string]: components["schemas"]["EncodedDatasetJobInfo"] | undefined; + inputs: { + [key: string]: components["schemas"]["EncodedDatasetJobInfo"]; }; /** * Job Runner Name @@ -4902,22 +8849,22 @@ export interface components { * Output collections * @default {} */ - output_collections?: { - [key: string]: components["schemas"]["EncodedHdcaSourceId"] | undefined; + output_collections: { + [key: string]: components["schemas"]["EncodedHdcaSourceId"]; }; /** * Outputs * @description Dictionary mapping all the tool outputs (by name) to the corresponding data references. * @default {} */ - outputs?: { - [key: string]: components["schemas"]["EncodedDatasetJobInfo"] | undefined; + outputs: { + [key: string]: components["schemas"]["EncodedDatasetJobInfo"]; }; /** * Parameters * @description Object containing all the parameters of the tool associated with this job. The specific parameters depend on the tool itself. */ - params: Record; + params: unknown; /** * State * @description Current state of the job. @@ -4939,6 +8886,11 @@ export interface components { * @description The email of the user that owns this job. Only the owner of the job and administrators can see this value. */ user_email?: string | null; + /** + * User Id + * @description User ID of user that ran this job + */ + user_id?: string | null; }; /** EncodedJobParameterHistoryItem */ EncodedJobParameterHistoryItem: { @@ -4979,19 +8931,19 @@ export interface components { * @description Whether to export as gzip archive. * @default true */ - gzip?: boolean | null; + gzip: boolean | null; /** * Include Deleted * @description Whether to include deleted datasets in the exported archive. * @default false */ - include_deleted?: boolean | null; + include_deleted: boolean | null; /** * Include Hidden * @description Whether to include hidden datasets in the exported archive. * @default false */ - include_hidden?: boolean | null; + include_hidden: boolean | null; }; /** ExportObjectMetadata */ ExportObjectMetadata: { @@ -5036,24 +8988,24 @@ export interface components { * @description Include file contents for deleted datasets (if include_files is True). * @default false */ - include_deleted?: boolean; + include_deleted: boolean; /** * Include Files * @description include materialized files in export when available * @default true */ - include_files?: boolean; + include_files: boolean; /** * Include hidden * @description Include file contents for hidden datasets (if include_files is True). * @default false */ - include_hidden?: boolean; + include_hidden: boolean; /** * @description format of model store to export * @default tar.gz */ - model_store_format?: components["schemas"]["ModelStoreFormat"]; + model_store_format: components["schemas"]["ModelStoreFormat"]; /** * Target URI * @description Galaxy Files URI to write mode store content to. @@ -5079,7 +9031,7 @@ export interface components { * @description Prevent Galaxy from checking for a single file in a directory and re-interpreting the archive * @default true */ - fuzzy_root?: boolean | null; + fuzzy_root: boolean | null; /** Items From */ items_from?: string | null; src: components["schemas"]["Src"]; @@ -5092,8 +9044,7 @@ export interface components { /** ExtractInputAction */ ExtractInputAction: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "extract_input"; @@ -5106,8 +9057,7 @@ export interface components { /** ExtractUntypedParameter */ ExtractUntypedParameter: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "extract_untyped_parameter"; @@ -5154,18 +9104,35 @@ export interface components { | components["schemas"]["HdcaDataItemsFromTarget"] | components["schemas"]["FtpImportTarget"] )[]; - [key: string]: unknown | undefined; + } & { + [key: string]: unknown; + }; + /** FetchDatasetHash */ + FetchDatasetHash: { + /** + * Hash Function + * @enum {string} + */ + hash_function: "MD5" | "SHA-1" | "SHA-256" | "SHA-512"; + /** Hash Value */ + hash_value: string; }; /** FileDataElement */ FileDataElement: { /** Md5 */ MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Collection Type */ collection_type?: string | null; /** Created From Basename */ @@ -5174,12 +9141,12 @@ export interface components { * Dbkey * @default ? */ - dbkey?: string; + dbkey: string; /** * Deferred * @default false */ - deferred?: boolean; + deferred: boolean; /** Description */ description?: string | null; elements_from?: components["schemas"]["ElementsFromType"] | null; @@ -5187,20 +9154,21 @@ export interface components { * Ext * @default auto */ - ext?: string; + ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; /** Info */ info?: string | null; /** Name */ - name?: string | number | number | boolean | null; + name?: string | number | boolean | null; /** * Space To Tab * @default false */ - space_to_tab?: boolean; + space_to_tab: boolean; /** - * Src - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ src: "files"; @@ -5210,13 +9178,12 @@ export interface components { * To Posix Lines * @default false */ - to_posix_lines?: boolean; + to_posix_lines: boolean; }; /** FileDefaultsAction */ FileDefaultsAction: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "fill_defaults"; @@ -5269,8 +9236,7 @@ export interface components { state: components["schemas"]["DatasetState"]; tags: components["schemas"]["TagCollection"]; /** - * Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ type: "file"; @@ -5291,7 +9257,7 @@ export interface components { * Hidden * @default false */ - hidden?: boolean; + hidden: boolean; /** Id */ id: string; /** Name */ @@ -5302,7 +9268,7 @@ export interface components { * Type * @enum {string} */ - type: "ftp" | "posix" | "s3fs" | "azure"; + type: "ftp" | "posix" | "s3fs" | "azure" | "onedata" | "webdav" | "dropbox" | "googledrive"; /** Variables */ variables?: | ( @@ -5316,7 +9282,7 @@ export interface components { * Version * @default 0 */ - version?: number; + version: number; }; /** FilesSourcePlugin */ FilesSourcePlugin: { @@ -5353,12 +9319,12 @@ export interface components { /** * @description Features supported by this file source. * @default { - * "pagination": false, - * "search": false, - * "sorting": false - * } + * "pagination": false, + * "search": false, + * "sorting": false + * } */ - supports?: components["schemas"]["FilesSourceSupports"]; + supports: components["schemas"]["FilesSourceSupports"]; /** * Type * @description The type of the plugin. @@ -5390,25 +9356,24 @@ export interface components { * @description Whether this file source supports server-side pagination. * @default false */ - pagination?: boolean; + pagination: boolean; /** * Search * @description Whether this file source supports server-side search. * @default false */ - search?: boolean; + search: boolean; /** * Sorting * @description Whether this file source supports server-side sorting. * @default false */ - sorting?: boolean; + sorting: boolean; }; /** FillStepDefaultsAction */ FillStepDefaultsAction: { /** - * Action Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ action_type: "fill_step_defaults"; @@ -5434,7 +9399,7 @@ export interface components { * @description A detailed description of the library folder. * @default */ - description?: string | null; + description: string | null; /** * Id * @example 0123456789ABCDEF @@ -5443,8 +9408,7 @@ export interface components { /** Name */ name: string; /** - * Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ type: "folder"; @@ -5459,12 +9423,18 @@ export interface components { FtpImportElement: { /** Md5 */ MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Collection Type */ collection_type?: string | null; /** Created From Basename */ @@ -5473,12 +9443,12 @@ export interface components { * Dbkey * @default ? */ - dbkey?: string; + dbkey: string; /** * Deferred * @default false */ - deferred?: boolean; + deferred: boolean; /** Description */ description?: string | null; elements_from?: components["schemas"]["ElementsFromType"] | null; @@ -5486,22 +9456,23 @@ export interface components { * Ext * @default auto */ - ext?: string; + ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; /** Ftp Path */ ftp_path: string; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; /** Info */ info?: string | null; /** Name */ - name?: string | number | number | boolean | null; + name?: string | number | boolean | null; /** * Space To Tab * @default false */ - space_to_tab?: boolean; + space_to_tab: boolean; /** - * Src - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ src: "ftp_import"; @@ -5511,7 +9482,7 @@ export interface components { * To Posix Lines * @default false */ - to_posix_lines?: boolean; + to_posix_lines: boolean; }; /** FtpImportTarget */ FtpImportTarget: { @@ -5520,7 +9491,7 @@ export interface components { * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Collection Type */ collection_type?: string | null; destination: components["schemas"]["HdcaDestination"]; @@ -5549,12 +9520,12 @@ export interface components { * role IDs * @default [] */ - role_ids?: string[]; + role_ids: string[]; /** * user IDs * @default [] */ - user_ids?: string[]; + user_ids: string[]; }; /** * GroupListResponse @@ -5706,6 +9677,11 @@ export interface components { * @description TODO */ api_type?: "file" | null; + /** + * Copied From History Dataset Association Id + * @description ID of HDA this HDA was copied from. + */ + copied_from_history_dataset_association_id?: string | null; /** Copied From Ldda Id */ copied_from_ldda_id?: string | null; /** @@ -5823,7 +9799,7 @@ export interface components { * Metadata * @description The metadata associated with this dataset. */ - metadata?: Record | null; + metadata?: unknown | null; /** * Miscellaneous Blurb * @description TODO @@ -5924,7 +9900,8 @@ export interface components { * @description The collection of visualizations that can be applied to this dataset. */ visualizations?: components["schemas"]["Visualization"][] | null; - [key: string]: unknown | undefined; + } & { + [key: string]: unknown; }; /** * HDADetailed @@ -5949,7 +9926,12 @@ export interface components { * @constant * @enum {string} */ - api_type?: "file"; + api_type: "file"; + /** + * Copied From History Dataset Association Id + * @description ID of HDA this HDA was copied from. + */ + copied_from_history_dataset_association_id?: string | null; /** Copied From Ldda Id */ copied_from_ldda_id?: string | null; /** @@ -6028,7 +10010,7 @@ export interface components { * @description TODO * @default ? */ - genome_build?: string | null; + genome_build: string | null; /** * Hashes * @description The list of hashes associated with this dataset. @@ -6039,7 +10021,7 @@ export interface components { * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). * @default hda */ - hda_ldda?: components["schemas"]["DatasetSourceType"]; + hda_ldda: components["schemas"]["DatasetSourceType"]; /** * HID * @description The index position of this item in the History. @@ -6071,7 +10053,7 @@ export interface components { * Metadata * @description The metadata associated with this dataset. */ - metadata?: Record | null; + metadata?: unknown | null; /** * Miscellaneous Blurb * @description TODO @@ -6137,7 +10119,7 @@ export interface components { * @constant * @enum {string} */ - type?: "file"; + type: "file"; /** * Type - ID * @description The type and the encoded ID of this item. Used for caching. @@ -6273,7 +10255,7 @@ export interface components { * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). * @default hda */ - hda_ldda?: components["schemas"]["DatasetSourceType"]; + hda_ldda: components["schemas"]["DatasetSourceType"]; /** * History ID * @example 0123456789ABCDEF @@ -6300,7 +10282,8 @@ export interface components { state: components["schemas"]["DatasetState"]; /** Tags */ tags: string[]; - [key: string]: unknown | undefined; + } & { + [key: string]: unknown; }; /** * HDASummary @@ -6335,7 +10318,7 @@ export interface components { * @description TODO * @default ? */ - genome_build?: string | null; + genome_build: string | null; /** * HID * @description The index position of this item in the History. @@ -6401,31 +10384,167 @@ export interface components { */ visible: boolean; }; - /** - * HDCADetailed - * @description History Dataset Collection Association detailed information. - */ - HDCADetailed: { + /** HDCACustom */ + HDCACustom: { /** * Dataset Collection ID * @example 0123456789ABCDEF */ - collection_id: string; + collection_id?: string; /** * Collection Type * @description The type of the collection, can be `list`, `paired`, or define subcollections using `:` as separator like `list:paired` or `list:list`. */ - collection_type: string; + collection_type?: string | null; /** * Contents URL * @description The relative URL to access the contents of this History. */ - contents_url: string; + contents_url?: string | null; /** * Create Time * @description The time and date this item was created. */ - create_time: string | null; + create_time?: string | null; + /** + * Deleted + * @description Whether this item is marked as deleted. + */ + deleted?: boolean | null; + /** + * Element Count + * @description The number of elements contained in the dataset collection. It may be None or undefined if the collection could not be populated. + */ + element_count?: number | null; + /** + * Elements + * @description The summary information of each of the elements inside the dataset collection. + */ + elements?: components["schemas"]["DCESummary"][] | null; + /** + * Elements Datatypes + * @description A set containing all the different element datatypes in the collection. + */ + elements_datatypes?: string[] | null; + /** + * HID + * @description The index position of this item in the History. + */ + hid?: number | null; + /** + * History Content Type + * @description This is always `dataset_collection` for dataset collections. + */ + history_content_type?: "dataset_collection" | null; + /** + * History ID + * @example 0123456789ABCDEF + */ + history_id?: string; + /** + * Id + * @example 0123456789ABCDEF + */ + id?: string; + /** + * Implicit Collection Jobs Id + * @description Encoded ID for the ICJ object describing the collection of jobs corresponding to this collection + */ + implicit_collection_jobs_id?: string | null; + /** + * Job Source ID + * @description The encoded ID of the Job that produced this dataset collection. Used to track the state of the job. + */ + job_source_id?: string | null; + /** + * Job Source Type + * @description The type of job (model class) that produced this dataset collection. Used to track the state of the job. + */ + job_source_type?: components["schemas"]["JobSourceType"] | null; + /** + * Job State Summary + * @description Overview of the job states working inside the dataset collection. + */ + job_state_summary?: components["schemas"]["HDCJobStateSummary"] | null; + /** + * Model class + * @description The name of the database model class. + * @constant + */ + model_class?: "HistoryDatasetCollectionAssociation"; + /** + * Name + * @description The name of the item. + */ + name?: string | null; + /** + * Populated + * @description Whether the dataset collection elements (and any subcollections elements) were successfully populated. + */ + populated?: boolean | null; + /** + * Populated State + * @description Indicates the general state of the elements in the dataset collection:- 'new': new dataset collection, unpopulated elements.- 'ok': collection elements populated (HDAs may or may not have errors).- 'failed': some problem populating, won't be populated. + */ + populated_state?: components["schemas"]["DatasetCollectionPopulatedState"] | null; + /** + * Populated State Message + * @description Optional message with further information in case the population of the dataset collection failed. + */ + populated_state_message?: string | null; + tags?: components["schemas"]["TagCollection"] | null; + /** + * Type + * @description This is always `collection` for dataset collections. + */ + type?: "collection" | null; + /** + * Type - ID + * @description The type and the encoded ID of this item. Used for caching. + */ + type_id?: string | null; + /** + * Update Time + * @description The last time and date this item was updated. + */ + update_time?: string | null; + /** + * URL + * @deprecated + * @description The relative URL to access this item. + */ + url?: string | null; + /** + * Visible + * @description Whether this item is visible or hidden to the user by default. + */ + visible?: boolean | null; + }; + /** + * HDCADetailed + * @description History Dataset Collection Association detailed information. + */ + HDCADetailed: { + /** + * Dataset Collection ID + * @example 0123456789ABCDEF + */ + collection_id: string; + /** + * Collection Type + * @description The type of the collection, can be `list`, `paired`, or define subcollections using `:` as separator like `list:paired` or `list:list`. + */ + collection_type: string; + /** + * Contents URL + * @description The relative URL to access the contents of this History. + */ + contents_url: string; + /** + * Create Time + * @description The time and date this item was created. + */ + create_time: string | null; /** * Deleted * @description Whether this item is marked as deleted. @@ -6441,7 +10560,7 @@ export interface components { * @description The summary information of each of the elements inside the dataset collection. * @default [] */ - elements?: components["schemas"]["DCESummary"][]; + elements: components["schemas"]["DCESummary"][]; /** * Elements Datatypes * @description A set containing all the different element datatypes in the collection. @@ -6524,7 +10643,7 @@ export interface components { * @constant * @enum {string} */ - type?: "collection"; + type: "collection"; /** * Type - ID * @description The type and the encoded ID of this item. Used for caching. @@ -6582,6 +10701,11 @@ export interface components { * @description The number of elements contained in the dataset collection. It may be None or undefined if the collection could not be populated. */ element_count?: number | null; + /** + * Elements Datatypes + * @description A set containing all the different element datatypes in the collection. + */ + elements_datatypes: string[]; /** * HID * @description The index position of this item in the History. @@ -6649,7 +10773,7 @@ export interface components { * @constant * @enum {string} */ - type?: "collection"; + type: "collection"; /** * Type - ID * @description The type and the encoded ID of this item. Used for caching. @@ -6682,90 +10806,85 @@ export interface components { * @description Total number of jobs associated with a dataset collection. * @default 0 */ - all_jobs?: number; + all_jobs: number; /** * Deleted jobs * @description Number of jobs in the `deleted` state. * @default 0 */ - deleted?: number; + deleted: number; /** * Deleted new jobs * @description Number of jobs in the `deleted_new` state. * @default 0 */ - deleted_new?: number; + deleted_new: number; /** * Jobs with errors * @description Number of jobs in the `error` state. * @default 0 */ - error?: number; + error: number; /** * Failed jobs * @description Number of jobs in the `failed` state. * @default 0 */ - failed?: number; + failed: number; /** * New jobs * @description Number of jobs in the `new` state. * @default 0 */ - new?: number; + new: number; /** * OK jobs * @description Number of jobs in the `ok` state. * @default 0 */ - ok?: number; + ok: number; /** * Paused jobs * @description Number of jobs in the `paused` state. * @default 0 */ - paused?: number; + paused: number; /** * Queued jobs * @description Number of jobs in the `queued` state. * @default 0 */ - queued?: number; + queued: number; /** * Resubmitted jobs * @description Number of jobs in the `resubmitted` state. * @default 0 */ - resubmitted?: number; + resubmitted: number; /** * Running jobs * @description Number of jobs in the `running` state. * @default 0 */ - running?: number; + running: number; /** * Skipped jobs * @description Number of jobs that were skipped due to conditional workflow step execution. * @default 0 */ - skipped?: number; + skipped: number; /** * Upload jobs * @description Number of jobs in the `upload` state. * @default 0 */ - upload?: number; + upload: number; /** * Waiting jobs * @description Number of jobs in the `waiting` state. * @default 0 */ - waiting?: number; - }; - /** HTTPValidationError */ - HTTPValidationError: { - /** Detail */ - detail?: components["schemas"]["ValidationError"][]; + waiting: number; }; /** * HashFunctionNameEnum @@ -6782,8 +10901,7 @@ export interface components { /** HdaDestination */ HdaDestination: { /** - * Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ type: "hdas"; @@ -6795,7 +10913,7 @@ export interface components { * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Collection Type */ collection_type?: string | null; destination: components["schemas"]["HdcaDestination"]; @@ -6821,7 +10939,7 @@ export interface components { * @description Decompress compressed data before sniffing? * @default false */ - auto_decompress?: boolean; + auto_decompress: boolean; /** Collection Type */ collection_type?: string | null; destination: components["schemas"]["HdcaDestination"]; @@ -6857,21 +10975,21 @@ export interface components { * @description Model for a category in the help forum. */ HelpForumCategory: { - [key: string]: unknown | undefined; + [key: string]: unknown; }; /** * HelpForumGroup * @description Model for a group in the help forum. */ HelpForumGroup: { - [key: string]: unknown | undefined; + [key: string]: unknown; }; /** * HelpForumGroupedSearchResult * @description Model for a grouped search result. */ HelpForumGroupedSearchResult: { - [key: string]: unknown | undefined; + [key: string]: unknown; }; /** * HelpForumPost @@ -6882,17 +11000,17 @@ export interface components { * Avatar Template * @description The avatar template of the user. */ - avatar_template: string; + avatar_template: string | null; /** * Blurb * @description The blurb of the post. */ - blurb: string; + blurb: string | null; /** * Created At * @description The creation date of the post. */ - created_at: string; + created_at: string | null; /** * Id * @description The ID of the post. @@ -6902,34 +11020,35 @@ export interface components { * Like Count * @description The number of likes of the post. */ - like_count: number; + like_count: number | null; /** * Name * @description The name of the post. */ - name: string; + name: string | null; /** * Post Number * @description The post number of the post. */ - post_number: number; + post_number: number | null; /** * Topic Id * @description The ID of the topic of the post. */ - topic_id: number; + topic_id: number | null; /** * Username * @description The username of the post author. */ - username: string; - [key: string]: unknown | undefined; + username: string | null; + } & { + [key: string]: unknown; }; /** * HelpForumSearchResponse * @description Response model for the help search API endpoint. * - * This model is based on the Discourse API response for the search endpoint. + * This model is based on the Discourse API response for the search endpoint. */ HelpForumSearchResponse: { /** @@ -6970,7 +11089,7 @@ export interface components { * @description Model for a tag in the help forum. */ HelpForumTag: { - [key: string]: unknown | undefined; + [key: string]: unknown; }; /** * HelpForumTopic @@ -6981,7 +11100,7 @@ export interface components { * Archetype * @description The archetype of the topic. */ - archetype: Record; + archetype: unknown; /** * Archived * @description Whether the topic is archived. @@ -7076,7 +11195,7 @@ export interface components { * Tags Descriptions * @description The descriptions of the tags of the topic. */ - tags_descriptions?: Record | null; + tags_descriptions?: unknown | null; /** * Title * @description The title of the topic. @@ -7103,7 +11222,7 @@ export interface components { * @description Model for a user in the help forum. */ HelpForumUser: { - [key: string]: unknown | undefined; + [key: string]: unknown; }; /** * HistoryActiveContentCounts @@ -7194,13 +11313,14 @@ export interface components { /** * HistoryContentsResult * @description List of history content items. - * Can contain different views and kinds of items. + * Can contain different views and kinds of items. */ HistoryContentsResult: ( | components["schemas"]["HDACustom"] | components["schemas"]["HDADetailed"] | components["schemas"]["HDASummary"] | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] | components["schemas"]["HDCADetailed"] | components["schemas"]["HDCASummary"] )[]; @@ -7218,6 +11338,7 @@ export interface components { | components["schemas"]["HDADetailed"] | components["schemas"]["HDASummary"] | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] | components["schemas"]["HDCADetailed"] | components["schemas"]["HDCASummary"] )[]; @@ -7268,7 +11389,7 @@ export interface components { * @description TODO * @default ? */ - genome_build?: string | null; + genome_build: string | null; /** * History ID * @example 0123456789ABCDEF @@ -7326,14 +11447,14 @@ export interface components { * @description A dictionary keyed to possible dataset states and valued with the number of datasets in this history that have those states. */ state_details: { - [key: string]: number | undefined; + [key: string]: number; }; /** * State IDs * @description A dictionary keyed to possible dataset states and valued with lists containing the ids of each HDA in that state. */ state_ids: { - [key: string]: string[] | undefined; + [key: string]: string[]; }; tags: components["schemas"]["TagCollection"]; /** @@ -7464,9 +11585,7 @@ export interface components { */ id: string; /** - * Model class - * @description The name of the database model class. - * @constant + * @description The name of the database model class. (enum property replaced by openapi-typescript) * @enum {string} */ model: "ImplicitCollectionJobs"; @@ -7480,8 +11599,8 @@ export interface components { * @description A dictionary of job states and the number of jobs in that state. * @default {} */ - states?: { - [key: string]: number | undefined; + states: { + [key: string]: number; }; }; /** ImportToolDataBundle */ @@ -7499,8 +11618,7 @@ export interface components { */ id: string; /** - * src - * @description Indicates that the tool data should be resolved from a dataset. + * @description Indicates that the tool data should be resolved from a dataset. (enum property replaced by openapi-typescript) * @enum {string} */ src: "hda" | "ldda"; @@ -7508,9 +11626,7 @@ export interface components { /** ImportToolDataBundleUriSource */ ImportToolDataBundleUriSource: { /** - * src - * @description Indicates that the tool data should be resolved by a URI. - * @constant + * @description Indicates that the tool data should be resolved by a URI. (enum property replaced by openapi-typescript) * @enum {string} */ src: "uri"; @@ -7520,33 +11636,6 @@ export interface components { */ uri: string; }; - /** InputArguments */ - InputArguments: { - /** - * Database Key - * @description Sets the database key of the objects being fetched to Galaxy. - * @default ? - */ - dbkey?: string | null; - /** - * File Type - * @description Sets the Galaxy datatype (e.g., `bam`) for the objects being fetched to Galaxy. See the following link for a complete list of Galaxy data types: https://galaxyproject.org/learn/datatypes/. - * @default auto - */ - file_type?: string | null; - /** - * Spaces to tabs - * @description A boolean value ('true' or 'false') that sets if spaces should be converted to tab in the objects being fetched to Galaxy. Applicable only if `to_posix_lines` is True - * @default false - */ - space_to_tab?: boolean | null; - /** - * POSIX line endings - * @description A boolean value ('true' or 'false'); if 'Yes', converts universal line endings to POSIX line endings. Set to 'False' if you upload a gzip, bz2 or zip archive containing a binary file. - * @default Yes - */ - to_posix_lines?: "Yes" | boolean | null; - }; /** InputDataCollectionStep */ InputDataCollectionStep: { /** @@ -7564,7 +11653,7 @@ export interface components { * @description A dictionary containing information about the inputs connected to this workflow step. */ input_steps: { - [key: string]: components["schemas"]["InputStep"] | undefined; + [key: string]: components["schemas"]["InputStep"]; }; /** * Tool ID @@ -7575,15 +11664,14 @@ export interface components { * Tool Inputs * @description TODO */ - tool_inputs?: Record; + tool_inputs?: unknown; /** * Tool Version * @description The version of the tool associated with this step. */ tool_version?: string | null; /** - * Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ type: "data_collection_input"; @@ -7607,7 +11695,7 @@ export interface components { * @description A dictionary containing information about the inputs connected to this workflow step. */ input_steps: { - [key: string]: components["schemas"]["InputStep"] | undefined; + [key: string]: components["schemas"]["InputStep"]; }; /** * Tool ID @@ -7618,15 +11706,14 @@ export interface components { * Tool Inputs * @description TODO */ - tool_inputs?: Record; + tool_inputs?: unknown; /** * Tool Version * @description The version of the tool associated with this step. */ tool_version?: string | null; /** - * Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ type: "data_input"; @@ -7650,7 +11737,7 @@ export interface components { * @description A dictionary containing information about the inputs connected to this workflow step. */ input_steps: { - [key: string]: components["schemas"]["InputStep"] | undefined; + [key: string]: components["schemas"]["InputStep"]; }; /** * Tool ID @@ -7661,15 +11748,14 @@ export interface components { * Tool Inputs * @description TODO */ - tool_inputs?: Record; + tool_inputs?: unknown; /** * Tool Version * @description The version of the tool associated with this step. */ tool_version?: string | null; /** - * Type - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ type: "parameter_input"; @@ -7752,7 +11838,7 @@ export interface components { * Error Message * @default Installation error message, the empty string means no error was recorded */ - error_message?: string; + error_message: string; /** * ID * @description Encoded ID of the install tool shed repository. @@ -7802,8 +11888,7 @@ export interface components { */ history_id: string; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "history_deleted"; @@ -7811,8 +11896,7 @@ export interface components { /** InvocationCancellationReviewFailedResponse */ InvocationCancellationReviewFailedResponse: { /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "cancelled_on_review"; @@ -7825,8 +11909,7 @@ export interface components { /** InvocationCancellationUserRequestResponse */ InvocationCancellationUserRequestResponse: { /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "user_request"; @@ -7839,8 +11922,7 @@ export interface components { */ output_name: string; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "workflow_output_not_found"; @@ -7861,8 +11943,7 @@ export interface components { */ hdca_id: string; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "collection_failed"; @@ -7886,8 +11967,7 @@ export interface components { */ hda_id: string; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "dataset_failed"; @@ -7905,8 +11985,7 @@ export interface components { */ details?: string | null; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "expression_evaluation_failed"; @@ -7930,8 +12009,7 @@ export interface components { */ job_id: string; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "job_failed"; @@ -7951,8 +12029,7 @@ export interface components { /** Tool or module output name that was referenced but not produced */ output_name: string; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "output_not_found"; @@ -7970,8 +12047,7 @@ export interface components { */ details: string; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "when_not_boolean"; @@ -7981,6 +12057,21 @@ export interface components { */ workflow_step_id: number; }; + /** InvocationFailureWorkflowParameterInvalidResponse */ + InvocationFailureWorkflowParameterInvalidResponse: { + /** + * Details + * @description Message raised by validator + */ + details: string; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + reason: "workflow_parameter_invalid"; + /** Workflow parameter step that failed validation */ + workflow_step_id: number; + }; /** InvocationInput */ InvocationInput: { /** @@ -8016,7 +12107,7 @@ export interface components { * Parameter value * @description Value of the input parameter. */ - parameter_value: Record; + parameter_value: unknown; /** * Workflow step ID * @description The encoded ID of the workflow step associated with the input parameter. @@ -8048,9 +12139,22 @@ export interface components { * @description The states of all the jobs related to the Invocation. */ states: { - [key: string]: number | undefined; - }; - }; + [key: string]: number; + }; + }; + InvocationMessageResponseUnion: + | components["schemas"]["InvocationCancellationReviewFailedResponse"] + | components["schemas"]["InvocationCancellationHistoryDeletedResponse"] + | components["schemas"]["InvocationCancellationUserRequestResponse"] + | components["schemas"]["InvocationFailureDatasetFailedResponse"] + | components["schemas"]["InvocationFailureCollectionFailedResponse"] + | components["schemas"]["InvocationFailureJobFailedResponse"] + | components["schemas"]["InvocationFailureOutputNotFoundResponse"] + | components["schemas"]["InvocationFailureExpressionEvaluationFailedResponse"] + | components["schemas"]["InvocationFailureWhenNotBooleanResponse"] + | components["schemas"]["InvocationUnexpectedFailureResponse"] + | components["schemas"]["InvocationEvaluationWarningWorkflowOutputNotFoundResponse"] + | components["schemas"]["InvocationFailureWorkflowParameterInvalidResponse"]; /** InvocationOutput */ InvocationOutput: { /** @@ -8168,7 +12272,7 @@ export interface components { * @constant * @enum {string} */ - render_format?: "markdown"; + render_format: "markdown"; /** * Title * @description The name of the report. @@ -8199,7 +12303,14 @@ export interface components { * InvocationState * @enum {string} */ - InvocationState: "new" | "ready" | "scheduled" | "cancelled" | "cancelling" | "failed"; + InvocationState: + | "new" + | "requires_materialization" + | "ready" + | "scheduled" + | "cancelled" + | "cancelling" + | "failed"; /** * InvocationStep * @description Information about workflow invocation step @@ -8227,7 +12338,7 @@ export interface components { * @description Jobs associated with the workflow invocation step. * @default [] */ - jobs?: components["schemas"]["JobBaseModel"][]; + jobs: components["schemas"]["JobBaseModel"][]; /** * Model class * @description The name of the database model class. @@ -8245,16 +12356,16 @@ export interface components { * @description The dataset collection outputs of the workflow invocation step. * @default {} */ - output_collections?: { - [key: string]: components["schemas"]["InvocationStepCollectionOutput"] | undefined; + output_collections: { + [key: string]: components["schemas"]["InvocationStepCollectionOutput"]; }; /** * Outputs * @description The outputs of the workflow invocation step. * @default {} */ - outputs?: { - [key: string]: components["schemas"]["InvocationStepOutput"] | undefined; + outputs: { + [key: string]: components["schemas"]["InvocationStepOutput"]; }; /** * State of the invocation step @@ -8300,7 +12411,7 @@ export interface components { * @constant * @enum {string} */ - src?: "hdca"; + src: "hdca"; }; /** InvocationStepJobsResponseCollectionJobsModel */ InvocationStepJobsResponseCollectionJobsModel: { @@ -8326,7 +12437,7 @@ export interface components { * @description The states of all the jobs related to the Invocation. */ states: { - [key: string]: number | undefined; + [key: string]: number; }; }; /** InvocationStepJobsResponseJobModel */ @@ -8353,7 +12464,7 @@ export interface components { * @description The states of all the jobs related to the Invocation. */ states: { - [key: string]: number | undefined; + [key: string]: number; }; }; /** InvocationStepJobsResponseStepModel */ @@ -8380,7 +12491,7 @@ export interface components { * @description The states of all the jobs related to the Invocation. */ states: { - [key: string]: number | undefined; + [key: string]: number; }; }; /** InvocationStepOutput */ @@ -8398,7 +12509,7 @@ export interface components { * @constant * @enum {string} */ - src?: "hda"; + src: "hda"; /** * UUID * @description Universal unique identifier of the workflow step output dataset. @@ -8418,8 +12529,7 @@ export interface components { */ details?: string | null; /** - * Reason - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ reason: "unexpected_failure"; @@ -8444,26 +12554,27 @@ export interface components { * @description Indicates if tool state corrections are allowed for workflow invocation. * @default false */ - allow_tool_state_corrections?: boolean | null; + allow_tool_state_corrections: boolean | null; /** * Batch * @description Indicates if the workflow is invoked as a batch. * @default false */ - batch?: boolean | null; + batch: boolean | null; /** - * Dataset Map - * @description TODO + * Legacy Dataset Map + * @deprecated + * @description An older alternative to specifying inputs using database IDs, do not use this and use inputs instead * @default {} */ - ds_map?: { - [key: string]: Record | undefined; + ds_map: { + [key: string]: Record; } | null; /** * Effective Outputs * @description TODO */ - effective_outputs?: Record | null; + effective_outputs?: unknown | null; /** * History * @description The encoded history id - passed exactly like this 'hist_id=...' - into which to import. Or the name of the new history into which to import. @@ -8476,12 +12587,12 @@ export interface components { history_id?: string | null; /** * Inputs - * @description TODO + * @description Specify values for formal inputs to the workflow */ inputs?: Record | null; /** * Inputs By - * @description How inputs maps to inputs (datasets/collections) to workflows steps. + * @description How the 'inputs' field maps its inputs (datasets/collections/step parameters) to workflows steps. */ inputs_by?: string | null; /** @@ -8489,13 +12600,13 @@ export interface components { * @description True when fetching by Workflow ID, False when fetching by StoredWorkflow ID * @default false */ - instance?: boolean | null; + instance: boolean | null; /** * Legacy * @description Indicating if to use legacy workflow invocation. * @default false */ - legacy?: boolean | null; + legacy: boolean | null; /** * New History Name * @description The name of the new history into which to import. @@ -8506,68 +12617,63 @@ export interface components { * @description Indicates if the workflow invocation should not be added to the history. * @default false */ - no_add_to_history?: boolean | null; + no_add_to_history: boolean | null; /** - * Parameters - * @description The raw parameters for the workflow invocation. + * Legacy Step Parameters + * @description Parameters specified per-step for the workflow invocation, this is legacy and you should generally use inputs and only specify the formal parameters of a workflow instead. * @default {} */ - parameters?: Record | null; + parameters: Record | null; /** - * Parameters Normalized - * @description Indicates if parameters are already normalized for workflow invocation. + * Legacy Step Parameters Normalized + * @description Indicates if legacy parameters are already normalized to be indexed by the order_index and are specified as a dictionary per step. Legacy-style parameters could previously be specified as one parameter per step or by tool ID. * @default false */ - parameters_normalized?: boolean | null; + parameters_normalized: boolean | null; /** * Preferred Intermediate Object Store ID - * @description The ID of the ? object store that should be used to store ? datasets in this history. + * @description The ID of the object store that should be used to store the intermediate datasets of this workflow - - Galaxy's job configuration may override this in some cases but this workflow preference will override tool and user preferences */ preferred_intermediate_object_store_id?: string | null; /** * Preferred Object Store ID - * @description The ID of the object store that should be used to store new datasets in this history. + * @description The ID of the object store that should be used to store all datasets (can instead specify object store IDs for intermediate and outputs datasts separately) - - Galaxy's job configuration may override this in some cases but this workflow preference will override tool and user preferences */ preferred_object_store_id?: string | null; /** * Preferred Outputs Object Store ID - * @description The ID of the object store that should be used to store ? datasets in this history. + * @description The ID of the object store that should be used to store the marked output datasets of this workflow - Galaxy's job configuration may override this in some cases but this workflow preference will override tool and user preferences. */ preferred_outputs_object_store_id?: string | null; /** * Replacement Parameters - * @description TODO + * @description Class of parameters mostly used for string replacement in PJAs. In best practice workflows, these should be replaced with input parameters * @default {} */ - replacement_params?: Record | null; + replacement_params: Record | null; /** * Require Exact Tool Versions * @description If true, exact tool versions are required for workflow invocation. * @default true */ - require_exact_tool_versions?: boolean | null; + require_exact_tool_versions: boolean | null; /** * Resource Parameters - * @description TODO + * @description If a workflow_resource_params_file file is defined and the target workflow is configured to consumer resource parameters, they can be specified with this parameter. See https://github.com/galaxyproject/galaxy/pull/4830 for more information. * @default {} */ - resource_params?: Record | null; + resource_params: Record | null; /** * Scheduler * @description Scheduler to use for workflow invocation. */ scheduler?: string | null; - /** - * Step Parameters - * @description TODO - */ - step_parameters?: Record | null; /** * Use cached job * @description Indicated whether to use a cached job for workflow invocation. * @default false */ - use_cached_job?: boolean | null; + use_cached_job: boolean | null; /** * Version * @description The version of the workflow to invoke. @@ -8680,6 +12786,24 @@ export interface components { */ update_time: string; }; + /** JobConsoleOutput */ + JobConsoleOutput: { + /** + * Job State + * @description The current job's state + */ + state?: components["schemas"]["JobState"] | null; + /** + * STDERR + * @description Tool STDERR from job. + */ + stderr?: string | null; + /** + * STDOUT + * @description Tool STDOUT from job. + */ + stdout?: string | null; + }; /** JobDestinationParams */ JobDestinationParams: { /** @@ -8697,7 +12821,8 @@ export interface components { * @description ID assigned to submitted job by external job running system */ "Runner Job ID"?: string | null; - [key: string]: unknown | undefined; + } & { + [key: string]: unknown; }; /** JobDisplayParametersSummary */ JobDisplayParametersSummary: { @@ -8711,7 +12836,7 @@ export interface components { * @description Dictionary mapping all the tool outputs (by name) with the corresponding dataset information in a nested format. */ outputs: { - [key: string]: components["schemas"]["JobOutput"][] | undefined; + [key: string]: components["schemas"]["JobOutput"][]; }; /** * Parameters @@ -8891,12 +13016,12 @@ export interface components { /** * JobMetric * @example { - * "name": "start_epoch", - * "plugin": "core", - * "raw_value": "1614261340.0000000", - * "title": "Job Start Time", - * "value": "2021-02-25 14:55:40" - * } + * "name": "start_epoch", + * "plugin": "core", + * "raw_value": "1614261340.0000000", + * "title": "Job Start Time", + * "value": "2021-02-25 14:55:40" + * } */ JobMetric: { /** @@ -8937,7 +13062,7 @@ export interface components { * Output label * @description The output label */ - label: Record; + label: unknown; /** * Dataset * @description The associated dataset. @@ -8979,8 +13104,7 @@ export interface components { * @description The values of the job parameter */ value?: - | components["schemas"]["EncodedJobParameterHistoryItem"][] - | number + | (components["schemas"]["EncodedJobParameterHistoryItem"] | null)[] | number | boolean | string @@ -9020,9 +13144,7 @@ export interface components { */ id: string; /** - * Model class - * @description The name of the database model class. - * @constant + * @description The name of the database model class. (enum property replaced by openapi-typescript) * @enum {string} */ model: "Job"; @@ -9036,8 +13158,8 @@ export interface components { * @description A dictionary of job states and the number of jobs in that state. * @default {} */ - states?: { - [key: string]: number | undefined; + states: { + [key: string]: number; }; }; /** @@ -9136,6 +13258,11 @@ export interface components { */ value: string; }; + /** + * LandingRequestState + * @enum {string} + */ + LandingRequestState: "unclaimed" | "claimed"; /** LegacyLibraryPermissionsPayload */ LegacyLibraryPermissionsPayload: { /** @@ -9143,25 +13270,25 @@ export interface components { * @description A list of role encoded IDs defining roles that should have access permission on the library. * @default [] */ - LIBRARY_ACCESS_in?: string[] | string | null; + LIBRARY_ACCESS_in: string[] | string | null; /** * Manage IDs * @description A list of role encoded IDs defining roles that should have manage permission on the library. * @default [] */ - LIBRARY_ADD_in?: string[] | string | null; + LIBRARY_ADD_in: string[] | string | null; /** * Modify IDs * @description A list of role encoded IDs defining roles that should have modify permission on the library. * @default [] */ - LIBRARY_MANAGE_in?: string[] | string | null; + LIBRARY_MANAGE_in: string[] | string | null; /** * Add IDs * @description A list of role encoded IDs defining roles that should be able to add items to the library. * @default [] */ - LIBRARY_MODIFY_in?: string[] | string | null; + LIBRARY_MODIFY_in: string[] | string | null; }; /** LibraryAvailablePermissions */ LibraryAvailablePermissions: { @@ -9177,7 +13304,7 @@ export interface components { page_limit: number; /** * Roles - * @description A list available roles that can be assigned to a particular permission. + * @description A list containing available roles that can be assigned to a particular permission. */ roles: components["schemas"]["BasicRoleModel"][]; /** @@ -9186,15312 +13313,22347 @@ export interface components { */ total: number; }; - /** LibraryCurrentPermissions */ - LibraryCurrentPermissions: { + /** LibraryContentsCollectionCreatePayload */ + LibraryContentsCollectionCreatePayload: { + /** the type of collection to create */ + collection_type: string; /** - * Access Role List - * @description A list containing pairs of role names and corresponding encoded IDs which have access to the Library. + * Copy Elements + * @description if True, copy the elements into the collection + * @default false */ - access_library_role_list: string[][]; + copy_elements: boolean; + /** @description the type of item to create */ + create_type: components["schemas"]["CreateType"]; + /** list of dictionaries containing the element identifiers for the collection */ + element_identifiers: Record[]; /** - * Add Role List - * @description A list containing pairs of role names and corresponding encoded IDs which can add items to the Library. + * Extended Metadata + * @description sub-dictionary containing any extended metadata to associate with the item */ - add_library_item_role_list: string[][]; + extended_metadata?: Record | null; /** - * Manage Role List - * @description A list containing pairs of role names and corresponding encoded IDs which can manage the Library. + * Folder Id + * @description the encoded id of the parent folder of the new item + * @example 0123456789ABCDEF */ - manage_library_role_list: string[][]; + folder_id: string; /** - * Modify Role List - * @description A list containing pairs of role names and corresponding encoded IDs which can modify the Library. + * From Hda Id + * @description (only if create_type is 'file') the encoded id of an accessible HDA to copy into the library */ - modify_library_role_list: string[][]; - }; - /** LibraryDestination */ - LibraryDestination: { + from_hda_id?: string | null; /** - * Description - * @description Description for library to create + * From Hdca Id + * @description (only if create_type is 'file') the encoded id of an accessible HDCA to copy into the library */ - description?: string | null; + from_hdca_id?: string | null; /** - * Name - * @description Must specify a library name + * Hide Source Items + * @description if True, hide the source items in the collection + * @default false */ - name: string; + hide_source_items: boolean; /** - * Synopsis - * @description Description for library to create + * Ldda Message + * @description the new message attribute of the LDDA created + * @default */ - synopsis?: string | null; + ldda_message: string; + /** the name of the collection */ + name?: string | null; /** - * Type - * @constant - * @enum {string} + * Tag Using Filenames + * @description create tags on datasets using the file's original name + * @default false */ - type: "library"; - }; - /** LibraryFolderContentsIndexResult */ - LibraryFolderContentsIndexResult: { - /** Folder Contents */ - folder_contents: ( - | components["schemas"]["FileLibraryFolderItem"] - | components["schemas"]["FolderLibraryFolderItem"] - )[]; - metadata: components["schemas"]["LibraryFolderMetadata"]; - }; - /** LibraryFolderCurrentPermissions */ - LibraryFolderCurrentPermissions: { + tag_using_filenames: boolean; /** - * Add Role List - * @description A list containing pairs of role names and corresponding encoded IDs which can add items to the Library folder. + * Tags + * @description create the given list of tags on datasets + * @default [] */ - add_library_item_role_list: string[][]; + tags: string[]; /** - * Manage Role List - * @description A list containing pairs of role names and corresponding encoded IDs which can manage the Library folder. + * @deprecated + * @description the method to use for uploading files + * @default upload_file */ - manage_folder_role_list: string[][]; + upload_option: components["schemas"]["UploadOption"]; + }; + /** LibraryContentsCreateDatasetCollectionResponse */ + LibraryContentsCreateDatasetCollectionResponse: components["schemas"]["LibraryContentsCreateDatasetResponse"][]; + /** LibraryContentsCreateDatasetResponse */ + LibraryContentsCreateDatasetResponse: { + /** Created From Basename */ + created_from_basename: string | null; + /** Data Type */ + data_type: string; + /** Deleted */ + deleted: boolean; + /** File Ext */ + file_ext: string; + /** File Name */ + file_name: string; + /** File Size */ + file_size: number; + /** Genome Build */ + genome_build: string; + /** Hda Ldda */ + hda_ldda: string; + /** Id */ + id: string; + /** Library Dataset Id */ + library_dataset_id: string; + /** Misc Blurb */ + misc_blurb: string | null; + /** Misc Info */ + misc_info: string | null; /** - * Modify Role List - * @description A list containing pairs of role names and corresponding encoded IDs which can modify the Library folder. + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - modify_folder_role_list: string[][]; + model_class: "LibraryDatasetDatasetAssociation"; + /** Name */ + name: string; + /** Parent Library Id */ + parent_library_id: string; + /** State */ + state: string; + /** Update Time */ + update_time: string; + /** Uuid */ + uuid: string; + /** Visible */ + visible: boolean; + } & { + [key: string]: unknown; }; - /** LibraryFolderDestination */ - LibraryFolderDestination: { + /** LibraryContentsCreateFileListResponse */ + LibraryContentsCreateFileListResponse: components["schemas"]["LibraryContentsCreateFileResponse"][]; + /** LibraryContentsCreateFileResponse */ + LibraryContentsCreateFileResponse: { /** - * Library Folder Id + * Id * @example 0123456789ABCDEF */ - library_folder_id: string; + id: string; + /** Name */ + name: string; + /** Url */ + url: string; + }; + /** LibraryContentsCreateFolderListResponse */ + LibraryContentsCreateFolderListResponse: components["schemas"]["LibraryContentsCreateFolderResponse"][]; + /** LibraryContentsCreateFolderResponse */ + LibraryContentsCreateFolderResponse: { /** - * Type - * @constant - * @enum {string} + * Id + * @example 0123456789ABCDEF */ - type: "library_folder"; + id: string; + /** Name */ + name: string; + /** Url */ + url: string; }; - /** LibraryFolderDetails */ - LibraryFolderDetails: { + /** LibraryContentsDeletePayload */ + LibraryContentsDeletePayload: { /** - * Deleted - * @description Whether this folder is marked as deleted. + * Purge + * @description if True, purge the library dataset + * @default false */ + purge: boolean; + }; + /** LibraryContentsDeleteResponse */ + LibraryContentsDeleteResponse: { + /** Deleted */ deleted: boolean; /** - * Description - * @description A detailed description of the library folder. - * @default + * Id + * @example 0123456789ABCDEF */ - description?: string | null; + id: string; + }; + /** LibraryContentsFileCreatePayload */ + LibraryContentsFileCreatePayload: { + /** @description the type of item to create */ + create_type: components["schemas"]["CreateType"]; /** - * Genome Build - * @description TODO + * database key * @default ? */ - genome_build?: string | null; - /** - * ID - * @description Encoded ID of the library folder. - * @example 0123456789ABCDEF - */ - id: string; + dbkey: string | unknown[]; /** - * Item Count - * @description A detailed description of the library folder. + * Extended Metadata + * @description sub-dictionary containing any extended metadata to associate with the item */ - item_count: number; + extended_metadata?: Record | null; + /** file type */ + file_type?: string | null; /** - * Path - * @description The list of folder names composing the path to this folder. - * @default [] + * Filesystem Paths + * @description (only if upload_option is 'upload_paths' and the user is an admin) file paths on the Galaxy server to upload to the library, one file per line + * @default */ - library_path?: string[]; + filesystem_paths: string; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Folder Id + * @description the encoded id of the parent folder of the new item + * @example 0123456789ABCDEF */ - model_class: "LibraryFolder"; + folder_id: string; /** - * Name - * @description The name of the library folder. + * From Hda Id + * @description (only if create_type is 'file') the encoded id of an accessible HDA to copy into the library */ - name: string; + from_hda_id?: string | null; /** - * Parent Folder ID - * @description Encoded ID of the parent folder. Empty if it's the root folder. + * From Hdca Id + * @description (only if create_type is 'file') the encoded id of an accessible HDCA to copy into the library */ - parent_id?: string | null; + from_hdca_id?: string | null; /** - * Parent Library ID - * @description Encoded ID of the Library this folder belongs to. - * @example 0123456789ABCDEF + * Ldda Message + * @description the new message attribute of the LDDA created + * @default */ - parent_library_id: string; + ldda_message: string; /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * @description (only when upload_option is 'upload_directory' or 'upload_paths').Setting to 'link_to_files' symlinks instead of copying the files + * @default copy_files */ - update_time: string; - }; - /** LibraryFolderMetadata */ - LibraryFolderMetadata: { - /** Can Add Library Item */ - can_add_library_item: boolean; - /** Can Modify Folder */ - can_modify_folder: boolean; - /** Folder Description */ - folder_description: string; - /** Folder Name */ - folder_name: string; - /** Full Path */ - full_path: unknown[][]; + link_data_only: components["schemas"]["LinkDataOnly"]; /** - * Parent Library Id - * @example 0123456789ABCDEF + * user selected roles + * @default */ - parent_library_id: string; - /** Total Rows */ - total_rows: number; - }; - /** - * LibraryFolderPermissionAction - * @constant - * @enum {string} - */ - LibraryFolderPermissionAction: "set_permissions"; - /** LibraryFolderPermissionsPayload */ - LibraryFolderPermissionsPayload: { + roles: string; /** - * Action - * @description Indicates what action should be performed on the library folder. + * Server Dir + * @description (only if upload_option is 'upload_directory') relative path of the subdirectory of Galaxy ``library_import_dir`` (if admin) or ``user_library_import_dir`` (if non-admin) to upload. All and only the files (i.e. no subdirectories) contained in the specified directory will be uploaded. + * @default */ - action?: components["schemas"]["LibraryFolderPermissionAction"] | null; + server_dir: string; /** - * Add IDs - * @description A list of role encoded IDs defining roles that should be able to add items to the library. - * @default [] + * Tag Using Filenames + * @description create tags on datasets using the file's original name + * @default false */ - "add_ids[]"?: string[] | string | null; + tag_using_filenames: boolean; /** - * Manage IDs - * @description A list of role encoded IDs defining roles that should have manage permission on the library. + * Tags + * @description create the given list of tags on datasets * @default [] */ - "manage_ids[]"?: string[] | string | null; + tags: string[]; + /** list of the uploaded files */ + upload_files?: Record[] | null; /** - * Modify IDs - * @description A list of role encoded IDs defining roles that should have modify permission on the library. - * @default [] + * @deprecated + * @description the method to use for uploading files + * @default upload_file */ - "modify_ids[]"?: string[] | string | null; + upload_option: components["schemas"]["UploadOption"]; + /** UUID of the dataset to upload */ + uuid?: string | null; + } & { + [key: string]: unknown; }; - /** LibraryLegacySummary */ - LibraryLegacySummary: { + /** LibraryContentsFolderCreatePayload */ + LibraryContentsFolderCreatePayload: { + /** @description the type of item to create */ + create_type: components["schemas"]["CreateType"]; /** - * Create Time - * Format: date-time - * @description The time and date this item was created. + * description of the folder to create + * @default */ - create_time: string; + description: string; /** - * Deleted - * @description Whether this Library has been deleted. + * Extended Metadata + * @description sub-dictionary containing any extended metadata to associate with the item */ - deleted: boolean; + extended_metadata?: Record | null; /** - * Description - * @description A detailed description of the Library. - * @default + * Folder Id + * @description the encoded id of the parent folder of the new item + * @example 0123456789ABCDEF */ - description?: string | null; + folder_id: string; /** - * ID - * @description Encoded ID of the Library. - * @example 0123456789ABCDEF + * From Hda Id + * @description (only if create_type is 'file') the encoded id of an accessible HDA to copy into the library */ - id: string; + from_hda_id?: string | null; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * From Hdca Id + * @description (only if create_type is 'file') the encoded id of an accessible HDCA to copy into the library */ - model_class: "Library"; + from_hdca_id?: string | null; /** - * Name - * @description The name of the Library. + * Ldda Message + * @description the new message attribute of the LDDA created + * @default */ - name: string; + ldda_message: string; /** - * Root Folder ID - * @description Encoded ID of the Library's base folder. - * @example 0123456789ABCDEF + * name of the folder to create + * @default */ - root_folder_id: string; + name: string; /** - * Description - * @description A short text describing the contents of the Library. + * Tag Using Filenames + * @description create tags on datasets using the file's original name + * @default false */ - synopsis?: string | null; - }; - /** - * LibraryPermissionAction - * @enum {string} - */ - LibraryPermissionAction: "set_permissions" | "remove_restrictions"; - /** - * LibraryPermissionScope - * @enum {string} - */ - LibraryPermissionScope: "current" | "available"; - /** LibraryPermissionsPayload */ - LibraryPermissionsPayload: { + tag_using_filenames: boolean; /** - * Access IDs - * @description A list of role encoded IDs defining roles that should have access permission on the library. + * Tags + * @description create the given list of tags on datasets * @default [] */ - "access_ids[]"?: string[] | string | null; + tags: string[]; /** - * Action - * @description Indicates what action should be performed on the Library. + * @deprecated + * @description the method to use for uploading files + * @default upload_file */ - action?: components["schemas"]["LibraryPermissionAction"] | null; - /** - * Add IDs - * @description A list of role encoded IDs defining roles that should be able to add items to the library. - * @default [] - */ - "add_ids[]"?: string[] | string | null; - /** - * Manage IDs - * @description A list of role encoded IDs defining roles that should have manage permission on the library. - * @default [] - */ - "manage_ids[]"?: string[] | string | null; + upload_option: components["schemas"]["UploadOption"]; + }; + /** LibraryContentsIndexDatasetResponse */ + LibraryContentsIndexDatasetResponse: { /** - * Modify IDs - * @description A list of role encoded IDs defining roles that should have modify permission on the library. - * @default [] + * Id + * @example 0123456789ABCDEF */ - "modify_ids[]"?: string[] | string | null; + id: string; + /** Name */ + name: string; + /** Type */ + type: string; + /** Url */ + url: string; }; - /** LibrarySummary */ - LibrarySummary: { + /** LibraryContentsIndexFolderResponse */ + LibraryContentsIndexFolderResponse: { /** - * Can User Add - * @description Whether the current user can add contents to this Library. + * Id + * @example 0123456789ABCDEF */ - can_user_add: boolean; + id: string; + /** Name */ + name: string; + /** Type */ + type: string; + /** Url */ + url: string; + }; + /** LibraryContentsIndexListResponse */ + LibraryContentsIndexListResponse: ( + | components["schemas"]["LibraryContentsIndexFolderResponse"] + | components["schemas"]["LibraryContentsIndexDatasetResponse"] + )[]; + /** LibraryContentsShowDatasetResponse */ + LibraryContentsShowDatasetResponse: { + /** Created From Basename */ + created_from_basename: string | null; + /** Data Type */ + data_type: string; + /** Date Uploaded */ + date_uploaded: string; + /** File Ext */ + file_ext: string; + /** File Name */ + file_name: string; + /** File Size */ + file_size: number; /** - * Can User Manage - * @description Whether the current user can manage the Library and its contents. + * Folder Id + * @example 0123456789ABCDEF */ - can_user_manage: boolean; + folder_id: string; + /** Genome Build */ + genome_build: string | null; /** - * Can User Modify - * @description Whether the current user can modify this Library. + * Id + * @example 0123456789ABCDEF */ - can_user_modify: boolean; + id: string; /** - * Create Time - * Format: date-time - * @description The time and date this item was created. + * Ldda Id + * @example 0123456789ABCDEF */ - create_time: string; + ldda_id: string; + /** Message */ + message: string | null; + /** Misc Blurb */ + misc_blurb: string | null; + /** Misc Info */ + misc_info: string | null; /** - * Create Time Pretty - * @description Nice time representation of the creation date. + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - create_time_pretty: string; + model_class: "LibraryDataset"; + /** Name */ + name: string; /** - * Deleted - * @description Whether this Library has been deleted. + * Parent Library Id + * @example 0123456789ABCDEF */ + parent_library_id: string; + /** Peek */ + peek: string | null; + /** State */ + state: string; + tags: components["schemas"]["TagCollection"]; + /** Update Time */ + update_time: string; + /** Uploaded By */ + uploaded_by: string | null; + /** Uuid */ + uuid: string; + } & { + [key: string]: unknown; + }; + /** LibraryContentsShowFolderResponse */ + LibraryContentsShowFolderResponse: { + /** Deleted */ deleted: boolean; + /** Description */ + description: string; + /** Genome Build */ + genome_build: string | null; /** - * Description - * @description A detailed description of the Library. - * @default - */ - description?: string | null; - /** - * ID - * @description Encoded ID of the Library. + * Id * @example 0123456789ABCDEF */ id: string; + /** Item Count */ + item_count: number; + /** Library Path */ + library_path: string[]; /** * Model class * @description The name of the database model class. * @constant * @enum {string} */ - model_class: "Library"; - /** - * Name - * @description The name of the Library. - */ + model_class: "LibraryFolder"; + /** Name */ name: string; + /** Parent Id */ + parent_id: string | null; /** - * Public - * @description Whether this Library has been deleted. - */ - public: boolean; - /** - * Root Folder ID - * @description Encoded ID of the Library's base folder. + * Parent Library Id * @example 0123456789ABCDEF */ - root_folder_id: string; + parent_library_id: string; + /** Update Time */ + update_time: string; + }; + /** LibraryCurrentPermissions */ + LibraryCurrentPermissions: { /** - * Description - * @description A short text describing the contents of the Library. + * Access Role List + * @description A list containing pairs of role names and corresponding encoded IDs which have access to the Library. */ - synopsis?: string | null; - }; - /** - * LibrarySummaryList - * @default [] - */ - LibrarySummaryList: components["schemas"]["LibrarySummary"][]; - /** LicenseMetadataModel */ - LicenseMetadataModel: { + access_library_role_list: string[][]; /** - * Details URL - * Format: uri - * @description URL to the SPDX json details for this license + * Add Role List + * @description A list containing pairs of role names and corresponding encoded IDs which can add items to the Library. */ - detailsUrl: string; + add_library_item_role_list: string[][]; /** - * Deprecated License - * @description True if the entire license is deprecated + * Manage Role List + * @description A list containing pairs of role names and corresponding encoded IDs which can manage the Library. */ - isDeprecatedLicenseId: boolean; + manage_library_role_list: string[][]; /** - * OSI approved - * @description Indicates if the [OSI](https://opensource.org/) has approved the license + * Modify Role List + * @description A list containing pairs of role names and corresponding encoded IDs which can modify the Library. */ - isOsiApproved: boolean; + modify_library_role_list: string[][]; + }; + /** LibraryDestination */ + LibraryDestination: { /** - * Identifier - * @description SPDX Identifier + * Description + * @description Description for library to create */ - licenseId: string; + description?: string | null; /** * Name - * @description Full name of the license + * @description Must specify a library name */ name: string; /** - * Recommended - * @description True if this license is recommended to be used + * Synopsis + * @description Description for library to create */ - recommended: boolean; + synopsis?: string | null; /** - * Reference - * @description Reference to the HTML format for the license file + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - reference: string; + type: "library"; + }; + /** LibraryFolderContentsIndexResult */ + LibraryFolderContentsIndexResult: { + /** Folder Contents */ + folder_contents: ( + | components["schemas"]["FileLibraryFolderItem"] + | components["schemas"]["FolderLibraryFolderItem"] + )[]; + metadata: components["schemas"]["LibraryFolderMetadata"]; + }; + /** LibraryFolderCurrentPermissions */ + LibraryFolderCurrentPermissions: { /** - * Reference number - * @description *Deprecated* - this field is generated and is no longer in use + * Add Role List + * @description A list containing pairs of role names and corresponding encoded IDs which can add items to the Library folder. */ - referenceNumber: number; + add_library_item_role_list: string[][]; /** - * Reference URLs - * @description Cross reference URL pointing to additional copies of the license + * Manage Role List + * @description A list containing pairs of role names and corresponding encoded IDs which can manage the Library folder. */ - seeAlso: string[]; + manage_folder_role_list: string[][]; /** - * SPDX URL - * Format: uri + * Modify Role List + * @description A list containing pairs of role names and corresponding encoded IDs which can modify the Library folder. */ - spdxUrl: string; + modify_folder_role_list: string[][]; + }; + /** LibraryFolderDestination */ + LibraryFolderDestination: { /** - * URL - * Format: uri - * @description License URL + * Library Folder Id + * @example 0123456789ABCDEF */ - url: string; + library_folder_id: string; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "library_folder"; }; - /** - * LimitedUserModel - * @description This is used when config options (expose_user_name and expose_user_email) are in place. - */ - LimitedUserModel: { - /** Email */ - email?: string | null; + /** LibraryFolderDetails */ + LibraryFolderDetails: { + /** + * Deleted + * @description Whether this folder is marked as deleted. + */ + deleted: boolean; + /** + * Description + * @description A detailed description of the library folder. + * @default + */ + description: string | null; + /** + * Genome Build + * @description TODO + * @default ? + */ + genome_build: string | null; /** * ID - * @description Encoded ID of the user + * @description Encoded ID of the library folder. * @example 0123456789ABCDEF */ id: string; - /** Username */ - username?: string | null; - }; - /** Link */ - Link: { - /** Name */ - name: string; - }; - /** - * ListJstreeResponse - * @deprecated - * @description List of files in Jstree format. - * @default [] - */ - ListJstreeResponse: Record[]; - /** - * ListUriResponse - * @description List of directories and files. - * @default [] - */ - ListUriResponse: (components["schemas"]["RemoteFile"] | components["schemas"]["RemoteDirectory"])[]; - /** - * MandatoryNotificationCategory - * @description These notification categories cannot be opt-out by the user. - * - * The user will always receive notifications from these categories. - * @constant - * @enum {string} - */ - MandatoryNotificationCategory: "broadcast"; - /** MaterializeDatasetInstanceAPIRequest */ - MaterializeDatasetInstanceAPIRequest: { /** - * Content - * @description Depending on the `source` it can be: - * - The encoded id of the source library dataset - * - The encoded id of the HDA - * - * @example 0123456789ABCDEF + * Item Count + * @description A detailed description of the library folder. */ - content: string; + item_count: number; /** - * Source - * @description The source of the content. Can be other history element to be copied or library elements. + * Path + * @description The list of folder names composing the path to this folder. + * @default [] */ - source: components["schemas"]["DatasetSourceType"]; - }; - /** MessageNotificationContent */ - MessageNotificationContent: { + library_path: string[]; /** - * Category - * @default message + * Model class + * @description The name of the database model class. * @constant * @enum {string} */ - category?: "message"; + model_class: "LibraryFolder"; /** - * Message - * @description The message of the notification (supports Markdown). + * Name + * @description The name of the library folder. */ - message: string; + name: string; /** - * Subject - * @description The subject of the notification. + * Parent Folder ID + * @description Encoded ID of the parent folder. Empty if it's the root folder. */ - subject: string; - }; - /** - * MetadataFile - * @description Metadata file associated with a dataset. - */ - MetadataFile: { + parent_id?: string | null; /** - * Download URL - * @description The URL to download this item from the server. + * Parent Library ID + * @description Encoded ID of the Library this folder belongs to. + * @example 0123456789ABCDEF */ - download_url: string; + parent_library_id: string; /** - * File Type - * @description TODO + * Update Time + * Format: date-time + * @description The last time and date this item was updated. */ - file_type: string; + update_time: string; }; - /** Metric */ - Metric: { - /** - * Arguments - * @description A JSON string containing an array of extra data. - */ - args: string; - /** - * Level - * @description An integer representing the metric's log level. - */ - level: number; - /** - * Namespace - * @description Label indicating the source of the metric. - */ - namespace: string; + /** LibraryFolderMetadata */ + LibraryFolderMetadata: { + /** Can Add Library Item */ + can_add_library_item: boolean; + /** Can Modify Folder */ + can_modify_folder: boolean; + /** Folder Description */ + folder_description: string; + /** Folder Name */ + folder_name: string; + /** Full Path */ + full_path: [string, string][]; /** - * Timestamp - * @description The timestamp in ISO format. + * Parent Library Id + * @example 0123456789ABCDEF */ - time: string; + parent_library_id: string; + /** Total Rows */ + total_rows: number; }; /** - * ModelStoreFormat - * @description Available types of model stores for export. + * LibraryFolderPermissionAction + * @constant * @enum {string} */ - ModelStoreFormat: "tgz" | "tar" | "tar.gz" | "bag.zip" | "bag.tar" | "bag.tgz" | "rocrate.zip" | "bco.json"; - /** NestedElement */ - NestedElement: { - /** Md5 */ - MD5?: string | null; + LibraryFolderPermissionAction: "set_permissions"; + /** LibraryFolderPermissionsPayload */ + LibraryFolderPermissionsPayload: { /** - * Auto Decompress - * @description Decompress compressed data before sniffing? - * @default false + * Action + * @description Indicates what action should be performed on the library folder. */ - auto_decompress?: boolean; - /** Collection Type */ - collection_type?: string | null; - /** Created From Basename */ - created_from_basename?: string | null; + action?: components["schemas"]["LibraryFolderPermissionAction"] | null; /** - * Dbkey - * @default ? + * Add IDs + * @description A list of role encoded IDs defining roles that should be able to add items to the library. + * @default [] */ - dbkey?: string; + "add_ids[]": string[] | string | null; /** - * Deferred - * @default false + * Manage IDs + * @description A list of role encoded IDs defining roles that should have manage permission on the library. + * @default [] */ - deferred?: boolean; - /** Description */ - description?: string | null; - /** Elements */ - elements: ( - | ( - | components["schemas"]["FileDataElement"] - | components["schemas"]["PastedDataElement"] - | components["schemas"]["UrlDataElement"] - | components["schemas"]["PathDataElement"] - | components["schemas"]["ServerDirElement"] - | components["schemas"]["FtpImportElement"] - | components["schemas"]["CompositeDataElement"] - ) - | components["schemas"]["NestedElement"] - )[]; - elements_from?: components["schemas"]["ElementsFromType"] | null; + "manage_ids[]": string[] | string | null; /** - * Ext - * @default auto + * Modify IDs + * @description A list of role encoded IDs defining roles that should have modify permission on the library. + * @default [] */ - ext?: string; - extra_files?: components["schemas"]["ExtraFiles"] | null; - /** Info */ - info?: string | null; - /** Name */ - name?: string | number | number | boolean | null; + "modify_ids[]": string[] | string | null; + }; + /** LibraryLegacySummary */ + LibraryLegacySummary: { /** - * Space To Tab - * @default false + * Create Time + * Format: date-time + * @description The time and date this item was created. */ - space_to_tab?: boolean; - /** Tags */ - tags?: string[] | null; + create_time: string; /** - * To Posix Lines - * @default false + * Deleted + * @description Whether this Library has been deleted. */ - to_posix_lines?: boolean; - }; - /** NewSharedItemNotificationContent */ - NewSharedItemNotificationContent: { + deleted: boolean; /** - * Category - * @default new_shared_item - * @constant - * @enum {string} + * Description + * @description A detailed description of the Library. + * @default */ - category?: "new_shared_item"; + description: string | null; /** - * Item name - * @description The name of the shared item. + * ID + * @description Encoded ID of the Library. + * @example 0123456789ABCDEF */ - item_name: string; + id: string; /** - * Item type - * @description The type of the shared item. + * Model class + * @description The name of the database model class. + * @constant * @enum {string} */ - item_type: "history" | "workflow" | "visualization" | "page"; + model_class: "Library"; /** - * Owner name - * @description The name of the owner of the shared item. + * Name + * @description The name of the Library. */ - owner_name: string; + name: string; /** - * Slug - * @description The slug of the shared item. Used for the link to the item. + * Root Folder ID + * @description Encoded ID of the Library's base folder. + * @example 0123456789ABCDEF */ - slug: string; + root_folder_id: string; + /** + * Description + * @description A short text describing the contents of the Library. + */ + synopsis?: string | null; }; /** - * NotificationBroadcastUpdateRequest - * @description A notification update request specific for broadcasting. + * LibraryPermissionAction + * @enum {string} */ - NotificationBroadcastUpdateRequest: { + LibraryPermissionAction: "set_permissions" | "remove_restrictions"; + /** + * LibraryPermissionScope + * @enum {string} + */ + LibraryPermissionScope: "current" | "available"; + /** LibraryPermissionsPayload */ + LibraryPermissionsPayload: { /** - * Content - * @description The content of the broadcast notification. Broadcast notifications are displayed prominently to all users and can contain action links to redirect the user to a specific page. + * Access IDs + * @description A list of role encoded IDs defining roles that should have access permission on the library. + * @default [] */ - content?: components["schemas"]["BroadcastNotificationContent"] | null; + "access_ids[]": string[] | string | null; /** - * Expiration time - * @description The time when the notification should expire. By default it will expire after 6 months. Expired notifications will be permanently deleted. + * Action + * @description Indicates what action should be performed on the Library. */ - expiration_time?: string | null; + action?: components["schemas"]["LibraryPermissionAction"] | null; /** - * Publication time - * @description The time when the notification should be published. Notifications can be created and then scheduled to be published at a later time. + * Add IDs + * @description A list of role encoded IDs defining roles that should be able to add items to the library. + * @default [] */ - publication_time?: string | null; + "add_ids[]": string[] | string | null; /** - * Source - * @description The source of the notification. Represents the agent that created the notification. - */ - source?: string | null; - /** - * Variant - * @description The variant of the notification. Used to express the importance of the notification. - */ - variant?: components["schemas"]["NotificationVariant"] | null; - }; - /** - * NotificationCategorySettings - * @description The settings for a notification category. - */ - NotificationCategorySettings: { - /** - * Channels - * @description The channels that the user wants to receive notifications from for this category. - * @default { - * "email": true, - * "push": true - * } - */ - channels?: components["schemas"]["NotificationChannelSettings"]; - /** - * Enabled - * @description Whether the user wants to receive notifications for this category. - * @default true - */ - enabled?: boolean; - }; - /** - * NotificationChannelSettings - * @description The settings for each channel of a notification category. - */ - NotificationChannelSettings: { - /** - * Email - * @description Whether the user wants to receive email notifications for this category. This setting will be ignored unless the server supports asynchronous tasks. - * @default true + * Manage IDs + * @description A list of role encoded IDs defining roles that should have manage permission on the library. + * @default [] */ - email?: boolean; + "manage_ids[]": string[] | string | null; /** - * Push - * @description Whether the user wants to receive push notifications in the browser for this category. - * @default true + * Modify IDs + * @description A list of role encoded IDs defining roles that should have modify permission on the library. + * @default [] */ - push?: boolean; + "modify_ids[]": string[] | string | null; }; - /** - * NotificationCreateData - * @description Basic common fields for all notification create requests. - */ - NotificationCreateData: { + /** LibrarySummary */ + LibrarySummary: { /** - * Category - * @description The category of the notification. Represents the type of the notification. E.g. 'message' or 'new_shared_item'. + * Can User Add + * @description Whether the current user can add contents to this Library. */ - category: - | components["schemas"]["MandatoryNotificationCategory"] - | components["schemas"]["PersonalNotificationCategory"]; + can_user_add: boolean; /** - * Content - * @description The content of the notification. The structure depends on the category. + * Can User Manage + * @description Whether the current user can manage the Library and its contents. */ - content: - | components["schemas"]["MessageNotificationContent"] - | components["schemas"]["NewSharedItemNotificationContent"] - | components["schemas"]["BroadcastNotificationContent"]; + can_user_manage: boolean; /** - * Expiration time - * @description The time when the notification should expire. By default it will expire after 6 months. Expired notifications will be permanently deleted. + * Can User Modify + * @description Whether the current user can modify this Library. */ - expiration_time?: string | null; + can_user_modify: boolean; /** - * Publication time - * @description The time when the notification should be published. Notifications can be created and then scheduled to be published at a later time. + * Create Time + * Format: date-time + * @description The time and date this item was created. */ - publication_time?: string | null; + create_time: string; /** - * Source - * @description The source of the notification. Represents the agent that created the notification. E.g. 'galaxy' or 'admin'. + * Create Time Pretty + * @description Nice time representation of the creation date. */ - source: string; + create_time_pretty: string; /** - * Variant - * @description The variant of the notification. Represents the intent or relevance of the notification. E.g. 'info' or 'urgent'. + * Deleted + * @description Whether this Library has been deleted. */ - variant: components["schemas"]["NotificationVariant"]; - }; - /** NotificationCreateRequest */ - NotificationCreateRequest: { + deleted: boolean; /** - * Notification - * @description The notification to create. The structure depends on the category. + * Description + * @description A detailed description of the Library. + * @default */ - notification: components["schemas"]["NotificationCreateData"]; + description: string | null; /** - * Recipients - * @description The recipients of the notification. Can be a combination of users, groups and roles. + * ID + * @description Encoded ID of the Library. + * @example 0123456789ABCDEF */ - recipients: components["schemas"]["NotificationRecipientsRequest"]; - }; - /** NotificationCreatedResponse */ - NotificationCreatedResponse: { + id: string; /** - * Notification - * @description The notification that was created. The structure depends on the category. + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - notification: components["schemas"]["NotificationResponse"]; + model_class: "Library"; /** - * Total notifications sent - * @description The total number of notifications that were sent to the recipients. + * Name + * @description The name of the Library. */ - total_notifications_sent: number; - }; - /** NotificationRecipientsRequest */ - NotificationRecipientsRequest: { + name: string; /** - * Group IDs - * @description The list of encoded group IDs of the groups that should receive the notification. - * @default [] + * Public + * @description Whether this Library has been deleted. */ - group_ids?: string[]; + public: boolean; /** - * Role IDs - * @description The list of encoded role IDs of the roles that should receive the notification. - * @default [] + * Root Folder ID + * @description Encoded ID of the Library's base folder. + * @example 0123456789ABCDEF */ - role_ids?: string[]; + root_folder_id: string; /** - * User IDs - * @description The list of encoded user IDs of the users that should receive the notification. - * @default [] + * Description + * @description A short text describing the contents of the Library. */ - user_ids?: string[]; + synopsis?: string | null; }; /** - * NotificationResponse - * @description Basic common fields for all notification responses. + * LibrarySummaryList + * @default [] */ - NotificationResponse: { - /** - * Category - * @description The category of the notification. Represents the type of the notification. E.g. 'message' or 'new_shared_item'. - */ - category: - | components["schemas"]["MandatoryNotificationCategory"] - | components["schemas"]["PersonalNotificationCategory"]; + LibrarySummaryList: components["schemas"]["LibrarySummary"][]; + /** LicenseMetadataModel */ + LicenseMetadataModel: { /** - * Content - * @description The content of the notification. The structure depends on the category. + * Details URL + * Format: uri + * @description URL to the SPDX json details for this license */ - content: - | components["schemas"]["MessageNotificationContent"] - | components["schemas"]["NewSharedItemNotificationContent"] - | components["schemas"]["BroadcastNotificationContent"]; + detailsUrl: string; /** - * Create time - * Format: date-time - * @description The time when the notification was created. + * Deprecated License + * @description True if the entire license is deprecated */ - create_time: string; + isDeprecatedLicenseId: boolean; /** - * Expiration time - * @description The time when the notification will expire. If not set, the notification will never expire. Expired notifications will be permanently deleted. + * OSI approved + * @description Indicates if the [OSI](https://opensource.org/) has approved the license */ - expiration_time?: string | null; + isOsiApproved: boolean; /** - * ID - * @description The encoded ID of the notification. - * @example 0123456789ABCDEF + * Identifier + * @description SPDX Identifier */ - id: string; + licenseId: string; /** - * Publication time - * Format: date-time - * @description The time when the notification was published. Notifications can be created and then published at a later time. + * Name + * @description Full name of the license */ - publication_time: string; + name: string; /** - * Source - * @description The source of the notification. Represents the agent that created the notification. E.g. 'galaxy' or 'admin'. + * Recommended + * @description True if this license is recommended to be used */ - source: string; + recommended: boolean; /** - * Update time - * Format: date-time - * @description The time when the notification was last updated. + * Reference + * @description Reference to the HTML format for the license file */ - update_time: string; + reference: string; /** - * Variant - * @description The variant of the notification. Represents the intent or relevance of the notification. E.g. 'info' or 'urgent'. + * Reference number + * @description *Deprecated* - this field is generated and is no longer in use */ - variant: components["schemas"]["NotificationVariant"]; - }; - /** - * NotificationStatusSummary - * @description A summary of the notification status for a user. Contains only updates since a particular timestamp. - */ - NotificationStatusSummary: { + referenceNumber: number; /** - * Broadcasts - * @description The list of updated broadcasts. + * Reference URLs + * @description Cross reference URL pointing to additional copies of the license */ - broadcasts: components["schemas"]["BroadcastNotificationResponse"][]; + seeAlso: string[]; /** - * Notifications - * @description The list of updated notifications for the user. + * SPDX URL + * Format: uri */ - notifications: components["schemas"]["UserNotificationResponse"][]; + spdxUrl: string; /** - * Total unread count - * @description The total number of unread notifications for the user. + * URL + * Format: uri + * @description License URL */ - total_unread_count: number; + url: string; }; /** - * NotificationVariant - * @description The notification variant communicates the intent or relevance of the notification. - * @enum {string} + * LimitedUserModel + * @description This is used when config options (expose_user_name and expose_user_email) are in place. */ - NotificationVariant: "info" | "warning" | "urgent"; - /** NotificationsBatchRequest */ - NotificationsBatchRequest: { + LimitedUserModel: { + /** Email */ + email?: string | null; /** - * Notification IDs - * @description The list of encoded notification IDs of the notifications that should be updated. + * ID + * @description Encoded ID of the user + * @example 0123456789ABCDEF */ - notification_ids: string[]; + id: string; + /** Username */ + username?: string | null; + }; + /** Link */ + Link: { + /** Name */ + name: string; }; /** - * NotificationsBatchUpdateResponse - * @description The response of a batch update request. + * LinkDataOnly + * @enum {string} */ - NotificationsBatchUpdateResponse: { - /** - * Updated count - * @description The number of notifications that were updated. - */ - updated_count: number; - }; - /** ObjectExportTaskResponse */ - ObjectExportTaskResponse: { - /** - * Create Time - * Format: date-time - * @description The time and date this item was created. - */ - create_time: string; - export_metadata?: components["schemas"]["ExportObjectMetadata"] | null; + LinkDataOnly: "copy_files" | "link_to_files"; + /** + * ListJstreeResponse + * @deprecated + * @description List of files in Jstree format. + * @default [] + */ + ListJstreeResponse: unknown[]; + /** + * ListUriResponse + * @description List of directories and files. + * @default [] + */ + ListUriResponse: (components["schemas"]["RemoteFile"] | components["schemas"]["RemoteDirectory"])[]; + /** + * MandatoryNotificationCategory + * @description These notification categories cannot be opt-out by the user. + * + * The user will always receive notifications from these categories. + * @constant + * @enum {string} + */ + MandatoryNotificationCategory: "broadcast"; + /** MaterializeDatasetInstanceAPIRequest */ + MaterializeDatasetInstanceAPIRequest: { /** - * ID - * @description The encoded database ID of the export request. + * Content + * @description Depending on the `source` it can be: + * - The encoded id of the source library dataset + * - The encoded id of the HDA + * * @example 0123456789ABCDEF */ - id: string; + content: string; /** - * Preparing - * @description Whether the archive is currently being built or in preparation. + * Source + * @description The source of the content. Can be other history element to be copied or library elements. */ - preparing: boolean; + source: components["schemas"]["DatasetSourceType"]; + }; + /** MessageExceptionModel */ + MessageExceptionModel: { + /** Err Code */ + err_code: number; + /** Err Msg */ + err_msg: string; + }; + /** MessageNotificationContent */ + MessageNotificationContent: { /** - * Ready - * @description Whether the export has completed successfully and the archive is ready + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - ready: boolean; + category: "message"; /** - * Task ID - * Format: uuid4 - * @description The identifier of the task processing the export. + * Message + * @description The message of the notification (supports Markdown). */ - task_uuid: string; + message: string; /** - * Up to Date - * @description False, if a new export archive should be generated. + * Subject + * @description The subject of the notification. */ - up_to_date: boolean; + subject: string; }; - /** ObjectStoreTemplateSummaries */ - ObjectStoreTemplateSummaries: components["schemas"]["ObjectStoreTemplateSummary"][]; - /** ObjectStoreTemplateSummary */ - ObjectStoreTemplateSummary: { - /** Badges */ - badges: components["schemas"]["BadgeDict"][]; - /** Description */ - description: string | null; - /** - * Hidden - * @default false - */ - hidden?: boolean; - /** Id */ - id: string; - /** Name */ - name: string | null; - /** Secrets */ - secrets?: components["schemas"]["TemplateSecret"][] | null; + /** + * MetadataFile + * @description Metadata file associated with a dataset. + */ + MetadataFile: { /** - * Type - * @enum {string} + * Download URL + * @description The URL to download this item from the server. */ - type: "aws_s3" | "azure_blob" | "boto3" | "disk" | "generic_s3"; - /** Variables */ - variables?: - | ( - | components["schemas"]["TemplateVariableString"] - | components["schemas"]["TemplateVariableInteger"] - | components["schemas"]["TemplateVariablePathComponent"] - | components["schemas"]["TemplateVariableBoolean"] - )[] - | null; + download_url: string; /** - * Version - * @default 0 + * File Type + * @description TODO */ - version?: number; + file_type: string; }; - /** OutputReferenceByLabel */ - OutputReferenceByLabel: { + /** Metric */ + Metric: { /** - * Label - * @description The unique label of the step being referenced. + * Arguments + * @description A JSON string containing an array of extra data. */ - label: string; + args: string; /** - * Output Name - * @description The output name as defined by the workflow module corresponding to the step being referenced. The default is 'output', corresponding to the output defined by input step types. - * @default output + * Level + * @description An integer representing the metric's log level. */ - output_name?: string | null; - }; - /** OutputReferenceByOrderIndex */ - OutputReferenceByOrderIndex: { + level: number; /** - * Order Index - * @description The order_index of the step being referenced. The order indices of a workflow start at 0. + * Namespace + * @description Label indicating the source of the metric. */ - order_index: number; + namespace: string; /** - * Output Name - * @description The output name as defined by the workflow module corresponding to the step being referenced. The default is 'output', corresponding to the output defined by input step types. - * @default output + * Timestamp + * @description The timestamp in ISO format. */ - output_name?: string | null; + time: string; }; /** - * PageContentFormat + * ModelStoreFormat + * @description Available types of model stores for export. * @enum {string} */ - PageContentFormat: "markdown" | "html"; - /** PageDetails */ - PageDetails: { + ModelStoreFormat: "tgz" | "tar" | "tar.gz" | "bag.zip" | "bag.tar" | "bag.tgz" | "rocrate.zip" | "bco.json"; + /** NestedElement */ + NestedElement: { + /** Md5 */ + MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** - * Content - * @description Raw text contents of the last page revision (type dependent on content_format). - * @default + * Auto Decompress + * @description Decompress compressed data before sniffing? + * @default false */ - content?: string | null; + auto_decompress: boolean; + /** Collection Type */ + collection_type?: string | null; + /** Created From Basename */ + created_from_basename?: string | null; /** - * Content format - * @description Either `markdown` or `html`. - * @default html + * Dbkey + * @default ? */ - content_format?: components["schemas"]["PageContentFormat"]; + dbkey: string; /** - * Create Time - * Format: date-time - * @description The time and date this item was created. + * Deferred + * @default false */ - create_time: string; + deferred: boolean; + /** Description */ + description?: string | null; + /** Elements */ + elements: ( + | ( + | components["schemas"]["FileDataElement"] + | components["schemas"]["PastedDataElement"] + | components["schemas"]["UrlDataElement"] + | components["schemas"]["PathDataElement"] + | components["schemas"]["ServerDirElement"] + | components["schemas"]["FtpImportElement"] + | components["schemas"]["CompositeDataElement"] + ) + | components["schemas"]["NestedElement"] + )[]; + elements_from?: components["schemas"]["ElementsFromType"] | null; /** - * Deleted - * @description Whether this Page has been deleted. + * Ext + * @default auto */ - deleted: boolean; + ext: string; + extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; + /** Info */ + info?: string | null; + /** Name */ + name?: string | number | boolean | null; /** - * Encoded email - * @description The encoded email of the user. + * Space To Tab + * @default false */ - email_hash: string; + space_to_tab: boolean; + /** Tags */ + tags?: string[] | null; /** - * Galaxy Version - * @description The version of Galaxy this object was generated with. + * To Posix Lines + * @default false */ - generate_time?: string | null; + to_posix_lines: boolean; + }; + /** NewSharedItemNotificationContent */ + NewSharedItemNotificationContent: { /** - * Galaxy Version - * @description The version of Galaxy this object was generated with. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - generate_version?: string | null; + category: "new_shared_item"; /** - * ID - * @description Encoded ID of the Page. - * @example 0123456789ABCDEF + * Item name + * @description The name of the shared item. */ - id: string; + item_name: string; /** - * Importable - * @description Whether this Page can be imported. + * Item type + * @description The type of the shared item. + * @enum {string} */ - importable: boolean; + item_type: "history" | "workflow" | "visualization" | "page"; /** - * Latest revision ID - * @description The encoded ID of the last revision of this Page. - * @example 0123456789ABCDEF + * Owner name + * @description The name of the owner of the shared item. */ - latest_revision_id: string; + owner_name: string; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Slug + * @description The slug of the shared item. Used for the link to the item. */ - model_class: "Page"; + slug: string; + }; + /** + * NotificationBroadcastUpdateRequest + * @description A notification update request specific for broadcasting. + */ + NotificationBroadcastUpdateRequest: { /** - * Published - * @description Whether this Page has been published. + * Content + * @description The content of the broadcast notification. Broadcast notifications are displayed prominently to all users and can contain action links to redirect the user to a specific page. */ - published: boolean; + content?: components["schemas"]["BroadcastNotificationContent"] | null; /** - * List of revisions - * @description The history with the encoded ID of each revision of the Page. + * Expiration time + * @description The time when the notification should expire. By default it will expire after 6 months. Expired notifications will be permanently deleted. */ - revision_ids: string[]; + expiration_time?: string | null; /** - * Identifier - * @description The title slug for the page URL, must be unique. + * Publication time + * @description The time when the notification should be published. Notifications can be created and then scheduled to be published at a later time. */ - slug: string; - tags: components["schemas"]["TagCollection"]; + publication_time?: string | null; /** - * Title - * @description The name of the page. + * Source + * @description The source of the notification. Represents the agent that created the notification. */ - title: string; + source?: string | null; /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * Variant + * @description The variant of the notification. Used to express the importance of the notification. */ - update_time: string; + variant?: components["schemas"]["NotificationVariant"] | null; + }; + /** + * NotificationCategorySettings + * @description The settings for a notification category. + */ + NotificationCategorySettings: { /** - * Username - * @description The name of the user owning this Page. + * Channels + * @description The channels that the user wants to receive notifications from for this category. + * @default { + * "email": true, + * "push": true + * } */ - username: string; - [key: string]: unknown | undefined; + channels: components["schemas"]["NotificationChannelSettings"]; + /** + * Enabled + * @description Whether the user wants to receive notifications for this category. + * @default true + */ + enabled: boolean; }; - /** PageSummary */ - PageSummary: { + /** + * NotificationChannelSettings + * @description The settings for each channel of a notification category. + */ + NotificationChannelSettings: { /** - * Create Time - * Format: date-time - * @description The time and date this item was created. + * Email + * @description Whether the user wants to receive email notifications for this category. This setting will be ignored unless the server supports asynchronous tasks. + * @default true */ - create_time: string; + email: boolean; /** - * Deleted - * @description Whether this Page has been deleted. + * Push + * @description Whether the user wants to receive push notifications in the browser for this category. + * @default true */ - deleted: boolean; + push: boolean; + }; + /** + * NotificationCreateData + * @description Basic common fields for all notification create requests. + */ + NotificationCreateData: { /** - * Encoded email - * @description The encoded email of the user. + * Category + * @description The category of the notification. Represents the type of the notification. E.g. 'message' or 'new_shared_item'. */ - email_hash: string; + category: + | components["schemas"]["MandatoryNotificationCategory"] + | components["schemas"]["PersonalNotificationCategory"]; /** - * ID - * @description Encoded ID of the Page. - * @example 0123456789ABCDEF + * Content + * @description The content of the notification. The structure depends on the category. */ - id: string; + content: + | components["schemas"]["MessageNotificationContent"] + | components["schemas"]["NewSharedItemNotificationContent"] + | components["schemas"]["BroadcastNotificationContent"]; /** - * Importable - * @description Whether this Page can be imported. + * Expiration time + * @description The time when the notification should expire. By default it will expire after 6 months. Expired notifications will be permanently deleted. */ - importable: boolean; + expiration_time?: string | null; /** - * Latest revision ID - * @description The encoded ID of the last revision of this Page. - * @example 0123456789ABCDEF + * Publication time + * @description The time when the notification should be published. Notifications can be created and then scheduled to be published at a later time. */ - latest_revision_id: string; + publication_time?: string | null; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Source + * @description The source of the notification. Represents the agent that created the notification. E.g. 'galaxy' or 'admin'. */ - model_class: "Page"; + source: string; /** - * Published - * @description Whether this Page has been published. + * Variant + * @description The variant of the notification. Represents the intent or relevance of the notification. E.g. 'info' or 'urgent'. */ - published: boolean; + variant: components["schemas"]["NotificationVariant"]; + }; + /** NotificationCreateRequest */ + NotificationCreateRequest: { /** - * List of revisions - * @description The history with the encoded ID of each revision of the Page. + * Notification + * @description The notification to create. The structure depends on the category. */ - revision_ids: string[]; + notification: components["schemas"]["NotificationCreateData"]; /** - * Identifier - * @description The title slug for the page URL, must be unique. + * Recipients + * @description The recipients of the notification. Can be a combination of users, groups and roles. */ - slug: string; - tags: components["schemas"]["TagCollection"]; + recipients: components["schemas"]["NotificationRecipientsRequest"]; + }; + /** NotificationCreatedResponse */ + NotificationCreatedResponse: { /** - * Title - * @description The name of the page. + * Notification + * @description The notification that was created. The structure depends on the category. */ - title: string; + notification: components["schemas"]["NotificationResponse"]; /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * Total notifications sent + * @description The total number of notifications that were sent to the recipients. */ - update_time: string; + total_notifications_sent: number; + }; + /** NotificationRecipientsRequest */ + NotificationRecipientsRequest: { /** - * Username - * @description The name of the user owning this Page. + * Group IDs + * @description The list of encoded group IDs of the groups that should receive the notification. + * @default [] */ - username: string; + group_ids: string[]; + /** + * Role IDs + * @description The list of encoded role IDs of the roles that should receive the notification. + * @default [] + */ + role_ids: string[]; + /** + * User IDs + * @description The list of encoded user IDs of the users that should receive the notification. + * @default [] + */ + user_ids: string[]; }; /** - * PageSummaryList - * @default [] + * NotificationResponse + * @description Basic common fields for all notification responses. */ - PageSummaryList: components["schemas"]["PageSummary"][]; - /** PastedDataElement */ - PastedDataElement: { - /** Md5 */ - MD5?: string | null; + NotificationResponse: { /** - * Auto Decompress - * @description Decompress compressed data before sniffing? - * @default false + * Category + * @description The category of the notification. Represents the type of the notification. E.g. 'message' or 'new_shared_item'. */ - auto_decompress?: boolean; - /** Collection Type */ - collection_type?: string | null; - /** Created From Basename */ - created_from_basename?: string | null; + category: + | components["schemas"]["MandatoryNotificationCategory"] + | components["schemas"]["PersonalNotificationCategory"]; /** - * Dbkey - * @default ? + * Content + * @description The content of the notification. The structure depends on the category. */ - dbkey?: string; + content: + | components["schemas"]["MessageNotificationContent"] + | components["schemas"]["NewSharedItemNotificationContent"] + | components["schemas"]["BroadcastNotificationContent"]; /** - * Deferred - * @default false + * Create time + * Format: date-time + * @description The time when the notification was created. */ - deferred?: boolean; - /** Description */ - description?: string | null; - elements_from?: components["schemas"]["ElementsFromType"] | null; + create_time: string; /** - * Ext - * @default auto + * Expiration time + * @description The time when the notification will expire. If not set, the notification will never expire. Expired notifications will be permanently deleted. */ - ext?: string; - extra_files?: components["schemas"]["ExtraFiles"] | null; - /** Info */ - info?: string | null; - /** Name */ - name?: string | number | number | boolean | null; + expiration_time?: string | null; /** - * Paste Content - * @description Content to upload + * ID + * @description The encoded ID of the notification. + * @example 0123456789ABCDEF */ - paste_content: string | number | number | boolean; + id: string; /** - * Space To Tab - * @default false + * Publication time + * Format: date-time + * @description The time when the notification was published. Notifications can be created and then published at a later time. */ - space_to_tab?: boolean; + publication_time: string; /** - * Src - * @constant - * @enum {string} - */ - src: "pasted"; - /** Tags */ - tags?: string[] | null; - /** - * To Posix Lines - * @default false + * Source + * @description The source of the notification. Represents the agent that created the notification. E.g. 'galaxy' or 'admin'. */ - to_posix_lines?: boolean; - }; - /** PathDataElement */ - PathDataElement: { - /** Md5 */ - MD5?: string | null; + source: string; /** - * Auto Decompress - * @description Decompress compressed data before sniffing? - * @default false + * Update time + * Format: date-time + * @description The time when the notification was last updated. */ - auto_decompress?: boolean; - /** Collection Type */ - collection_type?: string | null; - /** Created From Basename */ - created_from_basename?: string | null; + update_time: string; /** - * Dbkey - * @default ? + * Variant + * @description The variant of the notification. Represents the intent or relevance of the notification. E.g. 'info' or 'urgent'. */ - dbkey?: string; + variant: components["schemas"]["NotificationVariant"]; + }; + /** + * NotificationStatusSummary + * @description A summary of the notification status for a user. Contains only updates since a particular timestamp. + */ + NotificationStatusSummary: { /** - * Deferred - * @default false + * Broadcasts + * @description The list of updated broadcasts. */ - deferred?: boolean; - /** Description */ - description?: string | null; - elements_from?: components["schemas"]["ElementsFromType"] | null; + broadcasts: components["schemas"]["BroadcastNotificationResponse"][]; /** - * Ext - * @default auto + * Notifications + * @description The list of updated notifications for the user. */ - ext?: string; - extra_files?: components["schemas"]["ExtraFiles"] | null; - /** Info */ - info?: string | null; - /** Link Data Only */ - link_data_only?: boolean | null; - /** Name */ - name?: string | number | number | boolean | null; - /** Path */ - path: string; + notifications: components["schemas"]["UserNotificationResponse"][]; /** - * Space To Tab - * @default false + * Total unread count + * @description The total number of unread notifications for the user. */ - space_to_tab?: boolean; + total_unread_count: number; + }; + /** + * NotificationVariant + * @description The notification variant communicates the intent or relevance of the notification. + * @enum {string} + */ + NotificationVariant: "info" | "warning" | "urgent"; + /** NotificationsBatchRequest */ + NotificationsBatchRequest: { /** - * Src - * @constant - * @enum {string} + * Notification IDs + * @description The list of encoded notification IDs of the notifications that should be updated. */ - src: "path"; - /** Tags */ - tags?: string[] | null; + notification_ids: string[]; + }; + /** + * NotificationsBatchUpdateResponse + * @description The response of a batch update request. + */ + NotificationsBatchUpdateResponse: { /** - * To Posix Lines - * @default false + * Updated count + * @description The number of notifications that were updated. */ - to_posix_lines?: boolean; + updated_count: number; }; - /** PauseStep */ - PauseStep: { + /** OAuth2Info */ + OAuth2Info: { + /** Authorize Url */ + authorize_url: string; + }; + /** ObjectExportTaskResponse */ + ObjectExportTaskResponse: { /** - * Annotation - * @description An annotation to provide details or to help understand the purpose and usage of this item. + * Create Time + * Format: date-time + * @description The time and date this item was created. */ - annotation: string | null; + create_time: string; + export_metadata?: components["schemas"]["ExportObjectMetadata"] | null; /** * ID - * @description The identifier of the step. It matches the index order of the step inside the workflow. + * @description The encoded database ID of the export request. + * @example 0123456789ABCDEF */ - id: number; + id: string; /** - * Input Steps - * @description A dictionary containing information about the inputs connected to this workflow step. + * Preparing + * @description Whether the archive is currently being built or in preparation. */ - input_steps: { - [key: string]: components["schemas"]["InputStep"] | undefined; - }; + preparing: boolean; /** - * Tool ID - * @description The unique name of the tool associated with this step. + * Ready + * @description Whether the export has completed successfully and the archive is ready */ - tool_id?: string | null; + ready: boolean; /** - * Tool Inputs - * @description TODO + * Task ID + * Format: uuid4 + * @description The identifier of the task processing the export. */ - tool_inputs?: Record; + task_uuid: string; /** - * Tool Version - * @description The version of the tool associated with this step. + * Up to Date + * @description False, if a new export archive should be generated. */ - tool_version?: string | null; + up_to_date: boolean; + }; + /** ObjectStoreTemplateSummaries */ + ObjectStoreTemplateSummaries: components["schemas"]["ObjectStoreTemplateSummary"][]; + /** ObjectStoreTemplateSummary */ + ObjectStoreTemplateSummary: { + /** Badges */ + badges: components["schemas"]["BadgeDict"][]; + /** Description */ + description: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** Id */ + id: string; + /** Name */ + name: string | null; + /** Secrets */ + secrets?: components["schemas"]["TemplateSecret"][] | null; /** * Type - * @constant * @enum {string} */ - type: "pause"; - /** When */ - when: string | null; - }; - /** Person */ - Person: { - /** Address */ - address?: string | null; - /** Alternate Name */ - alternateName?: string | null; + type: "aws_s3" | "azure_blob" | "boto3" | "disk" | "generic_s3" | "onedata"; + /** Variables */ + variables?: + | ( + | components["schemas"]["TemplateVariableString"] + | components["schemas"]["TemplateVariableInteger"] + | components["schemas"]["TemplateVariablePathComponent"] + | components["schemas"]["TemplateVariableBoolean"] + )[] + | null; /** - * Class - * @default Person + * Version + * @default 0 */ - class?: string; - /** Email */ - email?: string | null; - /** Family Name */ - familyName?: string | null; - /** Fax Number */ - faxNumber?: string | null; - /** Given Name */ - givenName?: string | null; + version: number; + }; + /** OutputReferenceByLabel */ + OutputReferenceByLabel: { /** - * Honorific Prefix - * @description Honorific Prefix (e.g. Dr/Mrs/Mr) + * Label + * @description The unique label of the step being referenced. */ - honorificPrefix?: string | null; + label: string; /** - * Honorific Suffix - * @description Honorific Suffix (e.g. M.D.) + * Output Name + * @description The output name as defined by the workflow module corresponding to the step being referenced. The default is 'output', corresponding to the output defined by input step types. + * @default output */ - honorificSuffix?: string | null; + output_name: string | null; + }; + /** OutputReferenceByOrderIndex */ + OutputReferenceByOrderIndex: { /** - * Identifier - * @description Identifier (typically an orcid.org ID) + * Order Index + * @description The order_index of the step being referenced. The order indices of a workflow start at 0. */ - identifier?: string | null; - /** Image URL */ - image?: string | null; - /** Job Title */ - jobTitle?: string | null; + order_index: number; /** - * Name - * @description The name of the creator. + * Output Name + * @description The output name as defined by the workflow module corresponding to the step being referenced. The default is 'output', corresponding to the output defined by input step types. + * @default output */ - name?: string | null; - /** Telephone */ - telephone?: string | null; - /** URL */ - url?: string | null; + output_name: string | null; }; /** - * PersonalNotificationCategory - * @description These notification categories can be opt-out by the user and will be - * displayed in the notification preferences. + * PageContentFormat * @enum {string} */ - PersonalNotificationCategory: "message" | "new_shared_item"; - /** PluginAspectStatus */ - PluginAspectStatus: { - /** Message */ - message: string; + PageContentFormat: "markdown" | "html"; + /** PageDetails */ + PageDetails: { /** - * State - * @enum {string} + * Content + * @description Raw text contents of the last page revision (type dependent on content_format). + * @default */ - state: "ok" | "not_ok" | "unknown"; - }; - /** - * PluginKind - * @description Enum to distinguish between different kinds or categories of plugins. - * @enum {string} - */ - PluginKind: "rfs" | "drs" | "rdm" | "stock"; - /** PluginStatus */ - PluginStatus: { - connection?: components["schemas"]["PluginAspectStatus"] | null; - template_definition: components["schemas"]["PluginAspectStatus"]; - template_settings?: components["schemas"]["PluginAspectStatus"] | null; - }; - /** Position */ - Position: { - /** Left */ - left: number; - /** Top */ - top: number; - }; - /** PrepareStoreDownloadPayload */ - PrepareStoreDownloadPayload: { - /** - * Bco Merge History Metadata - * @description When reading tags/annotations to generate BCO object include history metadata. - * @default false - */ - bco_merge_history_metadata?: boolean; + content: string | null; /** - * Bco Override Algorithmic Error - * @description Override algorithmic error for 'error domain' when generating BioCompute object. + * Content format + * @description Either `markdown` or `html`. + * @default html */ - bco_override_algorithmic_error?: { - [key: string]: string | undefined; - } | null; + content_format: components["schemas"]["PageContentFormat"]; /** - * Bco Override Empirical Error - * @description Override empirical error for 'error domain' when generating BioCompute object. + * Create Time + * Format: date-time + * @description The time and date this item was created. */ - bco_override_empirical_error?: { - [key: string]: string | undefined; - } | null; + create_time: string; /** - * Bco Override Environment Variables - * @description Override environment variables for 'execution_domain' when generating BioCompute object. + * Deleted + * @description Whether this Page has been deleted. */ - bco_override_environment_variables?: { - [key: string]: string | undefined; - } | null; + deleted: boolean; /** - * Bco Override Xref - * @description Override xref for 'description domain' when generating BioCompute object. + * Encoded email + * @description The encoded email of the user. */ - bco_override_xref?: components["schemas"]["XrefItem"][] | null; + email_hash: string; /** - * Include deleted - * @description Include file contents for deleted datasets (if include_files is True). - * @default false + * Galaxy Version + * @description The version of Galaxy this object was generated with. */ - include_deleted?: boolean; + generate_time?: string | null; /** - * Include Files - * @description include materialized files in export when available - * @default true + * Galaxy Version + * @description The version of Galaxy this object was generated with. */ - include_files?: boolean; + generate_version?: string | null; /** - * Include hidden - * @description Include file contents for hidden datasets (if include_files is True). - * @default false + * ID + * @description Encoded ID of the Page. + * @example 0123456789ABCDEF */ - include_hidden?: boolean; + id: string; /** - * @description format of model store to export - * @default tar.gz + * Importable + * @description Whether this Page can be imported. */ - model_store_format?: components["schemas"]["ModelStoreFormat"]; - }; - /** QuotaDetails */ - QuotaDetails: { + importable: boolean; /** - * Bytes - * @description The amount, expressed in bytes, of this Quota. + * Latest revision ID + * @description The encoded ID of the last revision of this Page. + * @example 0123456789ABCDEF */ - bytes: number; + latest_revision_id: string; /** - * Default - * @description A list indicating which types of default user quotas, if any, are associated with this quota. - * @default [] + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - default?: components["schemas"]["DefaultQuota"][]; + model_class: "Page"; /** - * Description - * @description Detailed text description for this Quota. + * Published + * @description Whether this Page has been published. */ - description: string; + published: boolean; /** - * Display Amount - * @description Human-readable representation of the `amount` field. + * List of revisions + * @description The history with the encoded ID of each revision of the Page. */ - display_amount: string; + revision_ids: string[]; /** - * Groups - * @description A list of specific groups of users associated with this quota. - * @default [] + * Identifier + * @description The title slug for the page URL, must be unique. */ - groups?: components["schemas"]["GroupQuota"][]; + slug: string; + tags: components["schemas"]["TagCollection"]; /** - * ID - * @description The `encoded identifier` of the quota. - * @example 0123456789ABCDEF + * Title + * @description The name of the page. */ - id: string; + title: string; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Update Time + * Format: date-time + * @description The last time and date this item was updated. */ - model_class: "Quota"; + update_time: string; /** - * Name - * @description The name of the quota. This must be unique within a Galaxy instance. + * Username + * @description The name of the user owning this Page. */ - name: string; + username: string; + } & { + [key: string]: unknown; + }; + /** PageSummary */ + PageSummary: { /** - * Operation - * @description Quotas can have one of three `operations`:- `=` : The quota is exactly the amount specified- `+` : The amount specified will be added to the amounts of the user's other associated quota definitions- `-` : The amount specified will be subtracted from the amounts of the user's other associated quota definitions - * @default = + * Create Time + * Format: date-time + * @description The time and date this item was created. */ - operation?: components["schemas"]["QuotaOperation"]; + create_time: string; /** - * Quota Source Label - * @description Quota source label + * Deleted + * @description Whether this Page has been deleted. */ - quota_source_label?: string | null; + deleted: boolean; /** - * Users - * @description A list of specific users associated with this quota. - * @default [] + * Encoded email + * @description The encoded email of the user. */ - users?: components["schemas"]["UserQuota"][]; - }; - /** QuotaModel */ - QuotaModel: { - /** Enabled */ - enabled: boolean; - /** Source */ - source?: string | null; - }; - /** - * QuotaOperation - * @enum {string} - */ - QuotaOperation: "=" | "+" | "-"; - /** - * QuotaSummary - * @description Contains basic information about a Quota - */ - QuotaSummary: { + email_hash: string; /** * ID - * @description The `encoded identifier` of the quota. + * @description Encoded ID of the Page. * @example 0123456789ABCDEF */ id: string; + /** + * Importable + * @description Whether this Page can be imported. + */ + importable: boolean; + /** + * Latest revision ID + * @description The encoded ID of the last revision of this Page. + * @example 0123456789ABCDEF + */ + latest_revision_id: string; /** * Model class * @description The name of the database model class. * @constant * @enum {string} */ - model_class: "Quota"; + model_class: "Page"; /** - * Name - * @description The name of the quota. This must be unique within a Galaxy instance. + * Published + * @description Whether this Page has been published. */ - name: string; + published: boolean; /** - * Quota Source Label - * @description Quota source label + * List of revisions + * @description The history with the encoded ID of each revision of the Page. */ - quota_source_label?: string | null; + revision_ids: string[]; /** - * URL - * @deprecated - * @description The relative URL to get this particular Quota details from the rest API. + * Identifier + * @description The title slug for the page URL, must be unique. */ - url: string; - }; - /** - * QuotaSummaryList - * @default [] - */ - QuotaSummaryList: components["schemas"]["QuotaSummary"][]; - /** RefactorActionExecution */ - RefactorActionExecution: { - /** Action */ - action: - | components["schemas"]["AddInputAction"] - | components["schemas"]["AddStepAction"] - | components["schemas"]["ConnectAction"] - | components["schemas"]["DisconnectAction"] - | components["schemas"]["ExtractInputAction"] - | components["schemas"]["ExtractUntypedParameter"] - | components["schemas"]["FileDefaultsAction"] - | components["schemas"]["FillStepDefaultsAction"] - | components["schemas"]["UpdateAnnotationAction"] - | components["schemas"]["UpdateCreatorAction"] - | components["schemas"]["UpdateNameAction"] - | components["schemas"]["UpdateLicenseAction"] - | components["schemas"]["UpdateOutputLabelAction"] - | components["schemas"]["UpdateReportAction"] - | components["schemas"]["UpdateStepLabelAction"] - | components["schemas"]["UpdateStepPositionAction"] - | components["schemas"]["UpgradeSubworkflowAction"] - | components["schemas"]["UpgradeToolAction"] - | components["schemas"]["UpgradeAllStepsAction"] - | components["schemas"]["RemoveUnlabeledWorkflowOutputs"]; - /** Messages */ - messages: components["schemas"]["RefactorActionExecutionMessage"][]; - }; - /** RefactorActionExecutionMessage */ - RefactorActionExecutionMessage: { + slug: string; + tags: components["schemas"]["TagCollection"]; /** - * From Order Index - * @description For dropped connections these optional attributes refer to the output - * side of the connection that was dropped. + * Title + * @description The name of the page. */ - from_order_index?: number | null; + title: string; /** - * From Step Label - * @description For dropped connections these optional attributes refer to the output - * side of the connection that was dropped. + * Update Time + * Format: date-time + * @description The last time and date this item was updated. */ - from_step_label?: string | null; + update_time: string; /** - * Input Name - * @description If this message is about an input to a step, - * this field describes the target input name. $The input name as defined by the workflow module corresponding to the step being referenced. For Galaxy tool steps these inputs should be normalized using '|' (e.g. 'cond|repeat_0|input'). + * Username + * @description The name of the user owning this Page. */ - input_name?: string | null; - /** Message */ - message: string; - message_type: components["schemas"]["RefactorActionExecutionMessageTypeEnum"]; + username: string; + }; + /** + * PageSummaryList + * @default [] + */ + PageSummaryList: components["schemas"]["PageSummary"][]; + /** PastedDataElement */ + PastedDataElement: { + /** Md5 */ + MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** - * Order Index - * @description Reference to the step the message refers to. $ - * - * Messages don't have to be bound to a step, but if they are they will - * have a step_label and order_index included in the execution message. - * These are the label and order_index before applying the refactoring, - * the result of applying the action may change one or both of these. - * If connections are dropped this step reference will refer to the - * step with the previously connected input. + * Auto Decompress + * @description Decompress compressed data before sniffing? + * @default false */ - order_index?: number | null; + auto_decompress: boolean; + /** Collection Type */ + collection_type?: string | null; + /** Created From Basename */ + created_from_basename?: string | null; /** - * Output Label - * @description If the message_type is workflow_output_drop_forced, this is the output label dropped. + * Dbkey + * @default ? */ - output_label?: string | null; + dbkey: string; /** - * Output Name - * @description If this message is about an output to a step, - * this field describes the target output name. The output name as defined by the workflow module corresponding to the step being referenced. + * Deferred + * @default false */ - output_name?: string | null; + deferred: boolean; + /** Description */ + description?: string | null; + elements_from?: components["schemas"]["ElementsFromType"] | null; /** - * Step Label - * @description Reference to the step the message refers to. $ - * - * Messages don't have to be bound to a step, but if they are they will - * have a step_label and order_index included in the execution message. - * These are the label and order_index before applying the refactoring, - * the result of applying the action may change one or both of these. - * If connections are dropped this step reference will refer to the - * step with the previously connected input. + * Ext + * @default auto */ - step_label?: string | null; - }; - /** - * RefactorActionExecutionMessageTypeEnum - * @enum {string} - */ - RefactorActionExecutionMessageTypeEnum: - | "tool_version_change" - | "tool_state_adjustment" - | "connection_drop_forced" - | "workflow_output_drop_forced"; - /** RefactorRequest */ - RefactorRequest: { - /** Actions */ - actions: ( - | components["schemas"]["AddInputAction"] - | components["schemas"]["AddStepAction"] - | components["schemas"]["ConnectAction"] - | components["schemas"]["DisconnectAction"] - | components["schemas"]["ExtractInputAction"] - | components["schemas"]["ExtractUntypedParameter"] - | components["schemas"]["FileDefaultsAction"] - | components["schemas"]["FillStepDefaultsAction"] - | components["schemas"]["UpdateAnnotationAction"] - | components["schemas"]["UpdateCreatorAction"] - | components["schemas"]["UpdateNameAction"] - | components["schemas"]["UpdateLicenseAction"] - | components["schemas"]["UpdateOutputLabelAction"] - | components["schemas"]["UpdateReportAction"] - | components["schemas"]["UpdateStepLabelAction"] - | components["schemas"]["UpdateStepPositionAction"] - | components["schemas"]["UpgradeSubworkflowAction"] - | components["schemas"]["UpgradeToolAction"] - | components["schemas"]["UpgradeAllStepsAction"] - | components["schemas"]["RemoveUnlabeledWorkflowOutputs"] - )[]; + ext: string; + extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; + /** Info */ + info?: string | null; + /** Name */ + name?: string | number | boolean | null; /** - * Dry Run - * @default false + * Paste Content + * @description Content to upload */ - dry_run?: boolean; + paste_content: string | number | boolean; /** - * Style - * @default export + * Space To Tab + * @default false */ - style?: string; - }; - /** RefactorResponse */ - RefactorResponse: { - /** Action Executions */ - action_executions: components["schemas"]["RefactorActionExecution"][]; - /** Dry Run */ - dry_run: boolean; - /** Workflow */ - workflow: string; - }; - /** ReloadFeedback */ - ReloadFeedback: { - /** Failed */ - failed: (string | null)[]; - /** Message */ - message: string; - /** Reloaded */ - reloaded: (string | null)[]; - }; - /** RemoteDirectory */ - RemoteDirectory: { + space_to_tab: boolean; /** - * Class - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ - class: "Directory"; + src: "pasted"; + /** Tags */ + tags?: string[] | null; /** - * Name - * @description The name of the entry. + * To Posix Lines + * @default false */ - name: string; + to_posix_lines: boolean; + }; + /** PathDataElement */ + PathDataElement: { + /** Md5 */ + MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** - * Path - * @description The path of the entry. + * Auto Decompress + * @description Decompress compressed data before sniffing? + * @default false */ - path: string; + auto_decompress: boolean; + /** Collection Type */ + collection_type?: string | null; + /** Created From Basename */ + created_from_basename?: string | null; /** - * URI - * @description The URI of the entry. + * Dbkey + * @default ? */ - uri: string; - }; - /** RemoteFile */ - RemoteFile: { + dbkey: string; /** - * Class - * @constant - * @enum {string} + * Deferred + * @default false */ - class: "File"; + deferred: boolean; + /** Description */ + description?: string | null; + elements_from?: components["schemas"]["ElementsFromType"] | null; /** - * Creation time - * @description The creation time of the file. + * Ext + * @default auto */ - ctime: string; + ext: string; + extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; + /** Info */ + info?: string | null; + /** Link Data Only */ + link_data_only?: boolean | null; + /** Name */ + name?: string | number | boolean | null; + /** Path */ + path: string; /** - * Name - * @description The name of the entry. + * Space To Tab + * @default false */ - name: string; + space_to_tab: boolean; /** - * Path - * @description The path of the entry. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - path: string; + src: "path"; + /** Tags */ + tags?: string[] | null; /** - * Size - * @description The size of the file in bytes. + * To Posix Lines + * @default false */ - size: number; + to_posix_lines: boolean; + }; + /** PauseStep */ + PauseStep: { /** - * URI - * @description The URI of the entry. + * Annotation + * @description An annotation to provide details or to help understand the purpose and usage of this item. */ - uri: string; - }; - /** - * RemoteFilesDisableMode - * @enum {string} - */ - RemoteFilesDisableMode: "folders" | "files"; - /** - * RemoteFilesFormat - * @enum {string} - */ - RemoteFilesFormat: "flat" | "jstree" | "uri"; - /** RemoteUserCreationPayload */ - RemoteUserCreationPayload: { + annotation: string | null; /** - * Email - * @description Email of the user + * ID + * @description The identifier of the step. It matches the index order of the step inside the workflow. */ - remote_user_email: string; - }; - /** RemoveUnlabeledWorkflowOutputs */ - RemoveUnlabeledWorkflowOutputs: { + id: number; /** - * Action Type - * @constant - * @enum {string} + * Input Steps + * @description A dictionary containing information about the inputs connected to this workflow step. */ - action_type: "remove_unlabeled_workflow_outputs"; - }; - /** Report */ - Report: { - /** Markdown */ - markdown: string; - }; - /** ReportJobErrorPayload */ - ReportJobErrorPayload: { + input_steps: { + [key: string]: components["schemas"]["InputStep"]; + }; /** - * History Dataset Association ID - * @description The History Dataset Association ID related to the error. - * @example 0123456789ABCDEF + * Tool ID + * @description The unique name of the tool associated with this step. */ - dataset_id: string; + tool_id?: string | null; /** - * Email - * @description Email address for communication with the user. Only required for anonymous users. + * Tool Inputs + * @description TODO */ - email?: string | null; + tool_inputs?: unknown; /** - * Message - * @description The optional message sent with the error report. + * Tool Version + * @description The version of the tool associated with this step. */ - message?: string | null; - }; - /** - * RequestDataType - * @description Particular pieces of information that can be requested for a dataset. - * @enum {string} - */ - RequestDataType: - | "state" - | "converted_datasets_state" - | "data" - | "features" - | "raw_data" - | "track_config" - | "genome_data" - | "in_use_state"; - /** - * Requirement - * @description Available types of job sources (model classes) that produce dataset collections. - * @enum {string} - */ - Requirement: "logged_in" | "new_history" | "admin"; - /** RoleDefinitionModel */ - RoleDefinitionModel: { - /** - * Description - * @description Description of the role - */ - description: string; + tool_version?: string | null; /** - * Group IDs - * @default [] + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - group_ids?: string[] | null; + type: "pause"; + /** When */ + when: string | null; + }; + /** Person */ + Person: { + /** Address */ + address?: string | null; + /** Alternate Name */ + alternateName?: string | null; /** - * Name - * @description Name of the role + * Class + * @default Person */ - name: string; + class: string; + /** Email */ + email?: string | null; + /** Family Name */ + familyName?: string | null; + /** Fax Number */ + faxNumber?: string | null; + /** Given Name */ + givenName?: string | null; /** - * User IDs - * @default [] + * Honorific Prefix + * @description Honorific Prefix (e.g. Dr/Mrs/Mr) */ - user_ids?: string[] | null; - }; - /** RoleListResponse */ - RoleListResponse: components["schemas"]["RoleModelResponse"][]; - /** RoleModelResponse */ - RoleModelResponse: { - /** Description */ - description: string | null; + honorificPrefix?: string | null; /** - * ID - * @description Encoded ID of the role - * @example 0123456789ABCDEF + * Honorific Suffix + * @description Honorific Suffix (e.g. M.D.) */ - id: string; + honorificSuffix?: string | null; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Identifier + * @description Identifier (typically an orcid.org ID) */ - model_class: "Role"; + identifier?: string | null; + /** Image URL */ + image?: string | null; + /** Job Title */ + jobTitle?: string | null; /** * Name - * @description Name of the role - */ - name: string; - /** - * Type - * @description Type or category of the role + * @description The name of the creator. */ - type: string; + name?: string | null; + /** Telephone */ + telephone?: string | null; + /** URL */ + url?: string | null; + }; + /** + * PersonalNotificationCategory + * @description These notification categories can be opt-out by the user and will be + * displayed in the notification preferences. + * @enum {string} + */ + PersonalNotificationCategory: "message" | "new_shared_item"; + /** PluginAspectStatus */ + PluginAspectStatus: { + /** Message */ + message: string; /** - * URL - * @deprecated - * @description The relative URL to access this item. + * State + * @enum {string} */ - url: string; + state: "ok" | "not_ok" | "unknown"; }; - /** RootModel[Dict[str, int]] */ - RootModel_Dict_str__int__: { - [key: string]: number | undefined; + /** + * PluginKind + * @description Enum to distinguish between different kinds or categories of plugins. + * @enum {string} + */ + PluginKind: "rfs" | "drs" | "rdm" | "stock"; + /** PluginStatus */ + PluginStatus: { + connection?: components["schemas"]["PluginAspectStatus"] | null; + oauth2_access_token_generation?: components["schemas"]["PluginAspectStatus"] | null; + template_definition: components["schemas"]["PluginAspectStatus"]; + template_settings?: components["schemas"]["PluginAspectStatus"] | null; }; - /** SearchJobsPayload */ - SearchJobsPayload: { + /** Position */ + Position: { + /** Left */ + left: number; + /** Top */ + top: number; + }; + /** PrepareStoreDownloadPayload */ + PrepareStoreDownloadPayload: { /** - * Inputs - * @description The inputs of the job. + * Bco Merge History Metadata + * @description When reading tags/annotations to generate BCO object include history metadata. + * @default false */ - inputs: Record; + bco_merge_history_metadata: boolean; /** - * State - * @description Current state of the job. + * Bco Override Algorithmic Error + * @description Override algorithmic error for 'error domain' when generating BioCompute object. */ - state?: components["schemas"]["JobState"] | null; + bco_override_algorithmic_error?: { + [key: string]: string; + } | null; /** - * Tool ID - * @description The tool ID related to the job. + * Bco Override Empirical Error + * @description Override empirical error for 'error domain' when generating BioCompute object. */ - tool_id: string; - [key: string]: unknown | undefined; - }; - /** ServerDirElement */ - ServerDirElement: { - /** Md5 */ - MD5?: string | null; + bco_override_empirical_error?: { + [key: string]: string; + } | null; /** - * Auto Decompress - * @description Decompress compressed data before sniffing? - * @default false + * Bco Override Environment Variables + * @description Override environment variables for 'execution_domain' when generating BioCompute object. */ - auto_decompress?: boolean; - /** Collection Type */ - collection_type?: string | null; - /** Created From Basename */ - created_from_basename?: string | null; + bco_override_environment_variables?: { + [key: string]: string; + } | null; /** - * Dbkey - * @default ? + * Bco Override Xref + * @description Override xref for 'description domain' when generating BioCompute object. */ - dbkey?: string; + bco_override_xref?: components["schemas"]["XrefItem"][] | null; /** - * Deferred + * Include deleted + * @description Include file contents for deleted datasets (if include_files is True). * @default false */ - deferred?: boolean; - /** Description */ - description?: string | null; - elements_from?: components["schemas"]["ElementsFromType"] | null; + include_deleted: boolean; /** - * Ext - * @default auto + * Include Files + * @description include materialized files in export when available + * @default true */ - ext?: string; - extra_files?: components["schemas"]["ExtraFiles"] | null; - /** Info */ - info?: string | null; - /** Link Data Only */ - link_data_only?: boolean | null; - /** Name */ - name?: string | number | number | boolean | null; - /** Server Dir */ - server_dir: string; + include_files: boolean; /** - * Space To Tab + * Include hidden + * @description Include file contents for hidden datasets (if include_files is True). * @default false */ - space_to_tab?: boolean; - /** - * Src - * @constant - * @enum {string} - */ - src: "server_dir"; - /** Tags */ - tags?: string[] | null; + include_hidden: boolean; /** - * To Posix Lines - * @default false + * @description format of model store to export + * @default tar.gz */ - to_posix_lines?: boolean; + model_store_format: components["schemas"]["ModelStoreFormat"]; }; - /** Service */ - Service: { + /** QuotaDetails */ + QuotaDetails: { /** - * Contacturl - * @description URL of the contact for the provider of this service, e.g. a link to a contact form (RFC 3986 format), or an email (RFC 2368 format). + * Bytes + * @description The amount, expressed in bytes, of this Quota. */ - contactUrl?: string | null; + bytes: number; /** - * Createdat - * @description Timestamp describing when the service was first deployed and available (RFC 3339 format) + * Default + * @description A list indicating which types of default user quotas, if any, are associated with this quota. + * @default [] */ - createdAt?: string | null; + default: components["schemas"]["DefaultQuota"][]; /** * Description - * @description Description of the service. Should be human readable and provide information about the service. + * @description Detailed text description for this Quota. */ - description?: string | null; + description: string; /** - * Documentationurl - * @description URL of the documentation of this service (RFC 3986 format). This should help someone learn how to use your service, including any specifics required to access data, e.g. authentication. + * Display Amount + * @description Human-readable representation of the `amount` field. */ - documentationUrl?: string | null; + display_amount: string; /** - * Environment - * @description Environment the service is running in. Use this to distinguish between production, development and testing/staging deployments. Suggested values are prod, test, dev, staging. However this is advised and not enforced. + * Groups + * @description A list of specific groups of users associated with this quota. + * @default [] */ - environment?: string | null; + groups: components["schemas"]["GroupQuota"][]; /** - * Id - * @description Unique ID of this service. Reverse domain name notation is recommended, though not required. The identifier should attempt to be globally unique so it can be used in downstream aggregator services e.g. Service Registry. + * ID + * @description The `encoded identifier` of the quota. + * @example 0123456789ABCDEF */ id: string; /** - * Name - * @description Name of this service. Should be human readable. - */ - name: string; - /** @description Organization providing the service */ - organization: components["schemas"]["galaxy__schema__drs__Organization"]; - type: components["schemas"]["ServiceType"]; - /** - * Updatedat - * @description Timestamp describing when the service was last updated (RFC 3339 format) + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - updatedAt?: string | null; + model_class: "Quota"; /** - * Version - * @description Version of the service being described. Semantic versioning is recommended, but other identifiers, such as dates or commit hashes, are also allowed. The version should be changed whenever the service is updated. + * Name + * @description The name of the quota. This must be unique within a Galaxy instance. */ - version: string; - }; - /** ServiceType */ - ServiceType: { + name: string; /** - * Artifact - * @description Name of the API or GA4GH specification implemented. Official GA4GH types should be assigned as part of standards approval process. Custom artifacts are supported. + * Operation + * @description Quotas can have one of three `operations`:- `=` : The quota is exactly the amount specified- `+` : The amount specified will be added to the amounts of the user's other associated quota definitions- `-` : The amount specified will be subtracted from the amounts of the user's other associated quota definitions + * @default = */ - artifact: string; + operation: components["schemas"]["QuotaOperation"]; /** - * Group - * @description Namespace in reverse domain name format. Use `org.ga4gh` for implementations compliant with official GA4GH specifications. For services with custom APIs not standardized by GA4GH, or implementations diverging from official GA4GH specifications, use a different namespace (e.g. your organization's reverse domain name). + * Quota Source Label + * @description Quota source label */ - group: string; + quota_source_label?: string | null; /** - * Version - * @description Version of the API or specification. GA4GH specifications use semantic versioning. + * Users + * @description A list of specific users associated with this quota. + * @default [] */ - version: string; + users: components["schemas"]["UserQuota"][]; }; - /** SetSlugPayload */ - SetSlugPayload: { - /** - * New Slug - * @description The slug that will be used to access this shared item. - */ - new_slug: string; + /** QuotaModel */ + QuotaModel: { + /** Enabled */ + enabled: boolean; + /** Source */ + source?: string | null; }; - /** ShareHistoryExtra */ - ShareHistoryExtra: { - /** - * Accessible Count - * @description The number of datasets in the history that are public or accessible by all the target users. - * @default 0 - */ - accessible_count?: number; - /** - * Can Change - * @description A collection of datasets that are not accessible by one or more of the target users and that can be made accessible for others by the user sharing the history. - * @default [] - */ - can_change?: components["schemas"]["HDABasicInfo"][]; + /** + * QuotaOperation + * @enum {string} + */ + QuotaOperation: "=" | "+" | "-"; + /** + * QuotaSummary + * @description Contains basic information about a Quota + */ + QuotaSummary: { /** - * Can Share - * @description Indicates whether the resource can be directly shared or requires further actions. - * @default false + * ID + * @description The `encoded identifier` of the quota. + * @example 0123456789ABCDEF */ - can_share?: boolean; + id: string; /** - * Cannot Change - * @description A collection of datasets that are not accessible by one or more of the target users and that cannot be made accessible for others by the user sharing the history. - * @default [] + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - cannot_change?: components["schemas"]["HDABasicInfo"][]; - }; - /** ShareHistoryWithStatus */ - ShareHistoryWithStatus: { + model_class: "Quota"; /** - * Encoded Email - * @description Encoded owner email. + * Name + * @description The name of the quota. This must be unique within a Galaxy instance. */ - email_hash?: string | null; + name: string; /** - * Errors - * @description Collection of messages indicating that the resource was not shared with some (or all users) due to an error. - * @default [] + * Quota Source Label + * @description Quota source label */ - errors?: string[]; + quota_source_label?: string | null; /** - * Extra - * @description Optional extra information about this shareable resource that may be of interest. The contents of this field depend on the particular resource. + * URL + * @deprecated + * @description The relative URL to get this particular Quota details from the rest API. */ - extra: components["schemas"]["ShareHistoryExtra"]; + url: string; + }; + /** + * QuotaSummaryList + * @default [] + */ + QuotaSummaryList: components["schemas"]["QuotaSummary"][]; + /** RefactorActionExecution */ + RefactorActionExecution: { + /** Action */ + action: + | components["schemas"]["AddInputAction"] + | components["schemas"]["AddStepAction"] + | components["schemas"]["ConnectAction"] + | components["schemas"]["DisconnectAction"] + | components["schemas"]["ExtractInputAction"] + | components["schemas"]["ExtractUntypedParameter"] + | components["schemas"]["FileDefaultsAction"] + | components["schemas"]["FillStepDefaultsAction"] + | components["schemas"]["UpdateAnnotationAction"] + | components["schemas"]["UpdateCreatorAction"] + | components["schemas"]["UpdateNameAction"] + | components["schemas"]["UpdateLicenseAction"] + | components["schemas"]["UpdateOutputLabelAction"] + | components["schemas"]["UpdateReportAction"] + | components["schemas"]["UpdateStepLabelAction"] + | components["schemas"]["UpdateStepPositionAction"] + | components["schemas"]["UpgradeSubworkflowAction"] + | components["schemas"]["UpgradeToolAction"] + | components["schemas"]["UpgradeAllStepsAction"] + | components["schemas"]["RemoveUnlabeledWorkflowOutputs"]; + /** Messages */ + messages: components["schemas"]["RefactorActionExecutionMessage"][]; + }; + /** RefactorActionExecutionMessage */ + RefactorActionExecutionMessage: { /** - * ID - * @description The encoded ID of the resource to be shared. - * @example 0123456789ABCDEF + * From Order Index + * @description For dropped connections these optional attributes refer to the output + * side of the connection that was dropped. */ - id: string; + from_order_index?: number | null; /** - * Importable - * @description Whether this resource can be published using a link. + * From Step Label + * @description For dropped connections these optional attributes refer to the output + * side of the connection that was dropped. */ - importable: boolean; + from_step_label?: string | null; /** - * Published - * @description Whether this resource is currently published. + * Input Name + * @description If this message is about an input to a step, + * this field describes the target input name. $The input name as defined by the workflow module corresponding to the step being referenced. For Galaxy tool steps these inputs should be normalized using '|' (e.g. 'cond|repeat_0|input'). */ - published: boolean; + input_name?: string | null; + /** Message */ + message: string; + message_type: components["schemas"]["RefactorActionExecutionMessageTypeEnum"]; /** - * Title - * @description The title or name of the resource. + * Order Index + * @description Reference to the step the message refers to. $ + * + * Messages don't have to be bound to a step, but if they are they will + * have a step_label and order_index included in the execution message. + * These are the label and order_index before applying the refactoring, + * the result of applying the action may change one or both of these. + * If connections are dropped this step reference will refer to the + * step with the previously connected input. + * */ - title: string; + order_index?: number | null; /** - * Username - * @description The owner's username. + * Output Label + * @description If the message_type is workflow_output_drop_forced, this is the output label dropped. */ - username?: string | null; + output_label?: string | null; /** - * Username and slug - * @description The relative URL in the form of /u/{username}/{resource_single_char}/{slug} + * Output Name + * @description If this message is about an output to a step, + * this field describes the target output name. The output name as defined by the workflow module corresponding to the step being referenced. + * */ - username_and_slug?: string | null; + output_name?: string | null; /** - * Users shared with - * @description The list of encoded ids for users the resource has been shared. - * @default [] + * Step Label + * @description Reference to the step the message refers to. $ + * + * Messages don't have to be bound to a step, but if they are they will + * have a step_label and order_index included in the execution message. + * These are the label and order_index before applying the refactoring, + * the result of applying the action may change one or both of these. + * If connections are dropped this step reference will refer to the + * step with the previously connected input. + * */ - users_shared_with?: components["schemas"]["UserEmail"][]; + step_label?: string | null; }; - /** ShareWithExtra */ - ShareWithExtra: { + /** + * RefactorActionExecutionMessageTypeEnum + * @enum {string} + */ + RefactorActionExecutionMessageTypeEnum: + | "tool_version_change" + | "tool_state_adjustment" + | "connection_drop_forced" + | "workflow_output_drop_forced"; + /** RefactorRequest */ + RefactorRequest: { + /** Actions */ + actions: ( + | components["schemas"]["AddInputAction"] + | components["schemas"]["AddStepAction"] + | components["schemas"]["ConnectAction"] + | components["schemas"]["DisconnectAction"] + | components["schemas"]["ExtractInputAction"] + | components["schemas"]["ExtractUntypedParameter"] + | components["schemas"]["FileDefaultsAction"] + | components["schemas"]["FillStepDefaultsAction"] + | components["schemas"]["UpdateAnnotationAction"] + | components["schemas"]["UpdateCreatorAction"] + | components["schemas"]["UpdateNameAction"] + | components["schemas"]["UpdateLicenseAction"] + | components["schemas"]["UpdateOutputLabelAction"] + | components["schemas"]["UpdateReportAction"] + | components["schemas"]["UpdateStepLabelAction"] + | components["schemas"]["UpdateStepPositionAction"] + | components["schemas"]["UpgradeSubworkflowAction"] + | components["schemas"]["UpgradeToolAction"] + | components["schemas"]["UpgradeAllStepsAction"] + | components["schemas"]["RemoveUnlabeledWorkflowOutputs"] + )[]; /** - * Can Share - * @description Indicates whether the resource can be directly shared or requires further actions. + * Dry Run * @default false */ - can_share?: boolean; - }; - /** ShareWithPayload */ - ShareWithPayload: { - /** - * Share Option - * @description User choice for sharing resources which its contents may be restricted: - * - None: The user did not choose anything yet or no option is needed. - * - make_public: The contents of the resource will be made publicly accessible. - * - make_accessible_to_shared: This will automatically create a new `sharing role` allowing protected contents to be accessed only by the desired users. - * - no_changes: This won't change the current permissions for the contents. The user which this resource will be shared may not be able to access all its contents. - */ - share_option?: components["schemas"]["SharingOptions"] | null; + dry_run: boolean; /** - * User Identifiers - * @description A collection of encoded IDs (or email addresses) of users that this resource will be shared with. + * Style + * @default export */ - user_ids: (string | string)[]; + style: string; }; - /** ShareWithStatus */ - ShareWithStatus: { - /** - * Encoded Email - * @description Encoded owner email. - */ - email_hash?: string | null; - /** - * Errors - * @description Collection of messages indicating that the resource was not shared with some (or all users) due to an error. - * @default [] + /** RefactorResponse */ + RefactorResponse: { + /** Action Executions */ + action_executions: components["schemas"]["RefactorActionExecution"][]; + /** Dry Run */ + dry_run: boolean; + /** Workflow */ + workflow: string; + }; + /** ReloadFeedback */ + ReloadFeedback: { + /** Failed */ + failed: (string | null)[]; + /** Message */ + message: string; + /** Reloaded */ + reloaded: (string | null)[]; + }; + /** RemoteDirectory */ + RemoteDirectory: { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - errors?: string[]; + class: "Directory"; /** - * Extra - * @description Optional extra information about this shareable resource that may be of interest. The contents of this field depend on the particular resource. + * Name + * @description The name of the entry. */ - extra?: components["schemas"]["ShareWithExtra"] | null; + name: string; /** - * ID - * @description The encoded ID of the resource to be shared. - * @example 0123456789ABCDEF + * Path + * @description The path of the entry. */ - id: string; + path: string; /** - * Importable - * @description Whether this resource can be published using a link. + * URI + * @description The URI of the entry. */ - importable: boolean; + uri: string; + }; + /** RemoteFile */ + RemoteFile: { /** - * Published - * @description Whether this resource is currently published. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - published: boolean; + class: "File"; /** - * Title - * @description The title or name of the resource. + * Creation time + * @description The creation time of the file. */ - title: string; + ctime: string; /** - * Username - * @description The owner's username. + * Name + * @description The name of the entry. */ - username?: string | null; + name: string; /** - * Username and slug - * @description The relative URL in the form of /u/{username}/{resource_single_char}/{slug} + * Path + * @description The path of the entry. */ - username_and_slug?: string | null; + path: string; /** - * Users shared with - * @description The list of encoded ids for users the resource has been shared. - * @default [] + * Size + * @description The size of the file in bytes. + */ + size: number; + /** + * URI + * @description The URI of the entry. */ - users_shared_with?: components["schemas"]["UserEmail"][]; + uri: string; }; /** - * SharingOptions - * @description Options for sharing resources that may have restricted access to all or part of their contents. + * RemoteFilesDisableMode * @enum {string} */ - SharingOptions: "make_public" | "make_accessible_to_shared" | "no_changes"; - /** SharingStatus */ - SharingStatus: { + RemoteFilesDisableMode: "folders" | "files"; + /** + * RemoteFilesFormat + * @enum {string} + */ + RemoteFilesFormat: "flat" | "jstree" | "uri"; + /** RemoteUserCreationPayload */ + RemoteUserCreationPayload: { /** - * Encoded Email - * @description Encoded owner email. + * Email + * @description Email of the user */ - email_hash?: string | null; + remote_user_email: string; + }; + /** RemoveUnlabeledWorkflowOutputs */ + RemoveUnlabeledWorkflowOutputs: { /** - * ID - * @description The encoded ID of the resource to be shared. + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + action_type: "remove_unlabeled_workflow_outputs"; + }; + /** Report */ + Report: { + /** Markdown */ + markdown: string; + }; + /** ReportJobErrorPayload */ + ReportJobErrorPayload: { + /** + * History Dataset Association ID + * @description The History Dataset Association ID related to the error. * @example 0123456789ABCDEF */ - id: string; + dataset_id: string; /** - * Importable - * @description Whether this resource can be published using a link. + * Email + * @description Email address for communication with the user. Only required for anonymous users. */ - importable: boolean; + email?: string | null; /** - * Published - * @description Whether this resource is currently published. + * Message + * @description The optional message sent with the error report. */ - published: boolean; + message?: string | null; + }; + /** + * RequestDataType + * @description Particular pieces of information that can be requested for a dataset. + * @enum {string} + */ + RequestDataType: + | "state" + | "converted_datasets_state" + | "data" + | "features" + | "raw_data" + | "track_config" + | "genome_data" + | "in_use_state"; + /** + * Requirement + * @description Available types of job sources (model classes) that produce dataset collections. + * @enum {string} + */ + Requirement: "logged_in" | "new_history" | "admin"; + /** RoleDefinitionModel */ + RoleDefinitionModel: { /** - * Title - * @description The title or name of the resource. + * Description + * @description Description of the role */ - title: string; + description: string; /** - * Username - * @description The owner's username. + * Group IDs + * @default [] */ - username?: string | null; + group_ids: string[] | null; /** - * Username and slug - * @description The relative URL in the form of /u/{username}/{resource_single_char}/{slug} + * Name + * @description Name of the role */ - username_and_slug?: string | null; + name: string; /** - * Users shared with - * @description The list of encoded ids for users the resource has been shared. + * User IDs * @default [] */ - users_shared_with?: components["schemas"]["UserEmail"][]; + user_ids: string[] | null; }; - /** ShortTermStoreExportPayload */ - ShortTermStoreExportPayload: { - /** Duration */ - duration?: number | number | null; + /** RoleListResponse */ + RoleListResponse: components["schemas"]["RoleModelResponse"][]; + /** RoleModelResponse */ + RoleModelResponse: { + /** Description */ + description: string | null; /** - * Include deleted - * @description Include file contents for deleted datasets (if include_files is True). - * @default false + * ID + * @description Encoded ID of the role + * @example 0123456789ABCDEF */ - include_deleted?: boolean; + id: string; /** - * Include Files - * @description include materialized files in export when available - * @default true + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - include_files?: boolean; + model_class: "Role"; /** - * Include hidden - * @description Include file contents for hidden datasets (if include_files is True). - * @default false + * Name + * @description Name of the role */ - include_hidden?: boolean; + name: string; /** - * @description format of model store to export - * @default tar.gz + * Type + * @description Type or category of the role */ - model_store_format?: components["schemas"]["ModelStoreFormat"]; + type: string; /** - * Short Term Storage Request Id - * Format: uuid + * URL + * @deprecated + * @description The relative URL to access this item. */ - short_term_storage_request_id: string; + url: string; }; - /** ShowFullJobResponse */ - ShowFullJobResponse: { + /** RootModel[Dict[str, int]] */ + RootModel_Dict_str__int__: { + [key: string]: number; + }; + /** SearchJobsPayload */ + SearchJobsPayload: { /** - * Command Line - * @description The command line produced by the job. Users can see this value if allowed in the configuration, administrator can always see this value. + * Inputs + * @description The inputs of the job. */ - command_line?: string | null; + inputs: Record; /** - * Command Version - * @description Tool version indicated during job execution. + * State + * @description Current state of the job. */ - command_version?: string | null; + state?: components["schemas"]["JobState"] | null; /** - * Copied from Job-ID - * @description Reference to cached job if job execution was cached. + * Tool ID + * @description The tool ID related to the job. */ - copied_from_job_id?: string | null; + tool_id: string; + } & { + [key: string]: unknown; + }; + /** ServerDirElement */ + ServerDirElement: { + /** Md5 */ + MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** - * Create Time - * Format: date-time - * @description The time and date this item was created. + * Auto Decompress + * @description Decompress compressed data before sniffing? + * @default false */ - create_time: string; + auto_decompress: boolean; + /** Collection Type */ + collection_type?: string | null; + /** Created From Basename */ + created_from_basename?: string | null; /** - * Job dependencies - * @description The dependencies of the job. + * Dbkey + * @default ? */ - dependencies?: Record[] | null; + dbkey: string; /** - * Exit Code - * @description The exit code returned by the tool. Can be unset if the job is not completed yet. + * Deferred + * @default false */ - exit_code?: number | null; + deferred: boolean; + /** Description */ + description?: string | null; + elements_from?: components["schemas"]["ElementsFromType"] | null; /** - * External ID - * @description The job id used by the external job runner (Condor, Pulsar, etc.). Only administrator can see this value. + * Ext + * @default auto */ - external_id?: string | null; + ext: string; + extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; + /** Info */ + info?: string | null; + /** Link Data Only */ + link_data_only?: boolean | null; + /** Name */ + name?: string | number | boolean | null; + /** Server Dir */ + server_dir: string; /** - * Galaxy Version - * @description The (major) version of Galaxy used to create this job. + * Space To Tab + * @default false */ - galaxy_version?: string | null; + space_to_tab: boolean; /** - * Job Handler - * @description The job handler process assigned to handle this job. Only administrator can see this value. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - handler?: string | null; + src: "server_dir"; + /** Tags */ + tags?: string[] | null; /** - * History ID - * @description The encoded ID of the history associated with this item. + * To Posix Lines + * @default false */ - history_id?: string | null; + to_posix_lines: boolean; + }; + /** Service */ + Service: { /** - * Job ID - * @example 0123456789ABCDEF + * Contacturl + * @description URL of the contact for the provider of this service, e.g. a link to a contact form (RFC 3986 format), or an email (RFC 2368 format). */ - id: string; + contactUrl?: string | null; /** - * Inputs - * @description Dictionary mapping all the tool inputs (by name) to the corresponding data references. - * @default {} + * Createdat + * @description Timestamp describing when the service was first deployed and available (RFC 3339 format) */ - inputs?: { - [key: string]: components["schemas"]["EncodedDatasetJobInfo"] | undefined; - }; + createdAt?: string | null; /** - * Job Messages - * @description List with additional information and possible reasons for a failed job. + * Description + * @description Description of the service. Should be human readable and provide information about the service. */ - job_messages?: Record[] | null; + description?: string | null; /** - * Job Metrics - * @description Collections of metrics provided by `JobInstrumenter` plugins on a particular job. Only administrators can see these metrics. + * Documentationurl + * @description URL of the documentation of this service (RFC 3986 format). This should help someone learn how to use your service, including any specifics required to access data, e.g. authentication. */ - job_metrics?: components["schemas"]["JobMetricCollection"] | null; + documentationUrl?: string | null; /** - * Job Runner Name - * @description Name of the job runner plugin that handles this job. Only administrator can see this value. + * Environment + * @description Environment the service is running in. Use this to distinguish between production, development and testing/staging deployments. Suggested values are prod, test, dev, staging. However this is advised and not enforced. */ - job_runner_name?: string | null; + environment?: string | null; /** - * Job Standard Error - * @description The captured standard error of the job execution. + * Id + * @description Unique ID of this service. Reverse domain name notation is recommended, though not required. The identifier should attempt to be globally unique so it can be used in downstream aggregator services e.g. Service Registry. */ - job_stderr?: string | null; + id: string; /** - * Job Standard Output - * @description The captured standard output of the job execution. + * Name + * @description Name of this service. Should be human readable. */ - job_stdout?: string | null; + name: string; + /** @description Organization providing the service */ + organization: components["schemas"]["galaxy__schema__drs__Organization"]; + type: components["schemas"]["ServiceType"]; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Updatedat + * @description Timestamp describing when the service was last updated (RFC 3339 format) */ - model_class: "Job"; + updatedAt?: string | null; /** - * Output collections - * @default {} + * Version + * @description Version of the service being described. Semantic versioning is recommended, but other identifiers, such as dates or commit hashes, are also allowed. The version should be changed whenever the service is updated. */ - output_collections?: { - [key: string]: components["schemas"]["EncodedHdcaSourceId"] | undefined; - }; + version: string; + }; + /** ServiceType */ + ServiceType: { /** - * Outputs - * @description Dictionary mapping all the tool outputs (by name) to the corresponding data references. - * @default {} + * Artifact + * @description Name of the API or GA4GH specification implemented. Official GA4GH types should be assigned as part of standards approval process. Custom artifacts are supported. */ - outputs?: { - [key: string]: components["schemas"]["EncodedDatasetJobInfo"] | undefined; - }; + artifact: string; /** - * Parameters - * @description Object containing all the parameters of the tool associated with this job. The specific parameters depend on the tool itself. + * Group + * @description Namespace in reverse domain name format. Use `org.ga4gh` for implementations compliant with official GA4GH specifications. For services with custom APIs not standardized by GA4GH, or implementations diverging from official GA4GH specifications, use a different namespace (e.g. your organization's reverse domain name). */ - params: Record; + group: string; /** - * State - * @description Current state of the job. + * Version + * @description Version of the API or specification. GA4GH specifications use semantic versioning. */ - state: components["schemas"]["JobState"]; + version: string; + }; + /** SetSlugPayload */ + SetSlugPayload: { /** - * Standard Error - * @description Combined tool and job standard error streams. + * New Slug + * @description The slug that will be used to access this shared item. */ - stderr?: string | null; + new_slug: string; + }; + /** ShareHistoryExtra */ + ShareHistoryExtra: { /** - * Standard Output - * @description Combined tool and job standard output streams. + * Accessible Count + * @description The number of datasets in the history that are public or accessible by all the target users. + * @default 0 */ - stdout?: string | null; + accessible_count: number; /** - * Tool ID - * @description Identifier of the tool that generated this job. + * Can Change + * @description A collection of datasets that are not accessible by one or more of the target users and that can be made accessible for others by the user sharing the history. + * @default [] */ - tool_id: string; + can_change: components["schemas"]["HDABasicInfo"][]; /** - * Tool Standard Error - * @description The captured standard error of the tool executed by the job. + * Can Share + * @description Indicates whether the resource can be directly shared or requires further actions. + * @default false */ - tool_stderr?: string | null; + can_share: boolean; /** - * Tool Standard Output - * @description The captured standard output of the tool executed by the job. + * Cannot Change + * @description A collection of datasets that are not accessible by one or more of the target users and that cannot be made accessible for others by the user sharing the history. + * @default [] */ - tool_stdout?: string | null; + cannot_change: components["schemas"]["HDABasicInfo"][]; + }; + /** ShareHistoryWithStatus */ + ShareHistoryWithStatus: { /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * Encoded Email + * @description Encoded owner email. */ - update_time: string; + email_hash?: string | null; /** - * User Email - * @description The email of the user that owns this job. Only the owner of the job and administrators can see this value. + * Errors + * @description Collection of messages indicating that the resource was not shared with some (or all users) due to an error. + * @default [] */ - user_email?: string | null; - }; - /** - * Src - * @enum {string} - */ - Src: "url" | "pasted" | "files" | "path" | "composite" | "ftp_import" | "server_dir"; - /** StepReferenceByLabel */ - StepReferenceByLabel: { + errors: string[]; /** - * Label - * @description The unique label of the step being referenced. + * Extra + * @description Optional extra information about this shareable resource that may be of interest. The contents of this field depend on the particular resource. */ - label: string; - }; - /** StepReferenceByOrderIndex */ - StepReferenceByOrderIndex: { + extra: components["schemas"]["ShareHistoryExtra"]; /** - * Order Index - * @description The order_index of the step being referenced. The order indices of a workflow start at 0. + * ID + * @description The encoded ID of the resource to be shared. + * @example 0123456789ABCDEF */ - order_index: number; - }; - /** StorageItemCleanupError */ - StorageItemCleanupError: { - /** Error */ - error: string; + id: string; /** - * Item Id - * @example 0123456789ABCDEF + * Importable + * @description Whether this resource can be published using a link. */ - item_id: string; - }; - /** StorageItemsCleanupResult */ - StorageItemsCleanupResult: { - /** Errors */ - errors: components["schemas"]["StorageItemCleanupError"][]; - /** Success Item Count */ - success_item_count: number; - /** Total Free Bytes */ - total_free_bytes: number; - /** Total Item Count */ - total_item_count: number; - }; - /** StoreExportPayload */ - StoreExportPayload: { + importable: boolean; /** - * Include deleted - * @description Include file contents for deleted datasets (if include_files is True). - * @default false + * Published + * @description Whether this resource is currently published. */ - include_deleted?: boolean; + published: boolean; /** - * Include Files - * @description include materialized files in export when available - * @default true + * Title + * @description The title or name of the resource. */ - include_files?: boolean; + title: string; /** - * Include hidden - * @description Include file contents for hidden datasets (if include_files is True). - * @default false + * Username + * @description The owner's username. */ - include_hidden?: boolean; + username?: string | null; /** - * @description format of model store to export - * @default tar.gz + * Username and slug + * @description The relative URL in the form of /u/{username}/{resource_single_char}/{slug} */ - model_store_format?: components["schemas"]["ModelStoreFormat"]; - }; - /** StoredItem */ - StoredItem: { - /** - * Id - * @example 0123456789ABCDEF - */ - id: string; - /** Name */ - name: string; - /** Size */ - size: number; - /** Type */ - type: "history" | "dataset"; + username_and_slug?: string | null; /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * Users shared with + * @description The list of encoded ids for users the resource has been shared. + * @default [] */ - update_time: string; + users_shared_with: components["schemas"]["UserEmail"][]; }; - /** - * StoredItemOrderBy - * @description Available options for sorting Stored Items results. - * @enum {string} - */ - StoredItemOrderBy: "name-asc" | "name-dsc" | "size-asc" | "size-dsc" | "update_time-asc" | "update_time-dsc"; - /** StoredWorkflowDetailed */ - StoredWorkflowDetailed: { - /** - * Annotation - * @description An annotation to provide details or to help understand the purpose and usage of this item. - */ - annotation: string | null; + /** ShareWithExtra */ + ShareWithExtra: { /** - * Annotations - * @description An list of annotations to provide details or to help understand the purpose and usage of this workflow. + * Can Share + * @description Indicates whether the resource can be directly shared or requires further actions. + * @default false */ - annotations?: string[] | null; + can_share: boolean; + }; + /** ShareWithPayload */ + ShareWithPayload: { /** - * Create Time - * Format: date-time - * @description The time and date this item was created. + * Share Option + * @description User choice for sharing resources which its contents may be restricted: + * - None: The user did not choose anything yet or no option is needed. + * - make_public: The contents of the resource will be made publicly accessible. + * - make_accessible_to_shared: This will automatically create a new `sharing role` allowing protected contents to be accessed only by the desired users. + * - no_changes: This won't change the current permissions for the contents. The user which this resource will be shared may not be able to access all its contents. + * */ - create_time: string; + share_option?: components["schemas"]["SharingOptions"] | null; /** - * Creator - * @description Additional information about the creator (or multiple creators) of this workflow. + * User Identifiers + * @description A collection of encoded IDs (or email addresses) of users that this resource will be shared with. */ - creator?: - | (components["schemas"]["Person"] | components["schemas"]["galaxy__schema__schema__Organization"])[] - | null; + user_ids: string[]; + }; + /** ShareWithStatus */ + ShareWithStatus: { /** - * Deleted - * @description Whether this item is marked as deleted. + * Encoded Email + * @description Encoded owner email. */ - deleted: boolean; + email_hash?: string | null; /** - * Email Hash - * @description The hash of the email of the creator of this workflow + * Errors + * @description Collection of messages indicating that the resource was not shared with some (or all users) due to an error. + * @default [] */ - email_hash: string | null; + errors: string[]; /** - * Hidden - * @description TODO + * Extra + * @description Optional extra information about this shareable resource that may be of interest. The contents of this field depend on the particular resource. */ - hidden: boolean; + extra?: components["schemas"]["ShareWithExtra"] | null; /** - * Id + * ID + * @description The encoded ID of the resource to be shared. * @example 0123456789ABCDEF */ id: string; /** * Importable - * @description Indicates if the workflow is importable by the current user. + * @description Whether this resource can be published using a link. */ - importable: boolean | null; + importable: boolean; /** - * Inputs - * @description A dictionary containing information about all the inputs of the workflow. - * @default {} + * Published + * @description Whether this resource is currently published. */ - inputs?: { - [key: string]: components["schemas"]["WorkflowInput"] | undefined; - }; + published: boolean; /** - * Latest workflow UUID - * @description TODO + * Title + * @description The title or name of the resource. */ - latest_workflow_uuid?: string | null; + title: string; /** - * License - * @description SPDX Identifier of the license associated with this workflow. + * Username + * @description The owner's username. */ - license?: string | null; + username?: string | null; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Username and slug + * @description The relative URL in the form of /u/{username}/{resource_single_char}/{slug} */ - model_class: "StoredWorkflow"; + username_and_slug?: string | null; /** - * Name - * @description The name of the history. + * Users shared with + * @description The list of encoded ids for users the resource has been shared. + * @default [] */ - name: string; + users_shared_with: components["schemas"]["UserEmail"][]; + }; + /** + * SharingOptions + * @description Options for sharing resources that may have restricted access to all or part of their contents. + * @enum {string} + */ + SharingOptions: "make_public" | "make_accessible_to_shared" | "no_changes"; + /** SharingStatus */ + SharingStatus: { /** - * Number of Steps - * @description The number of steps that make up this workflow. + * Encoded Email + * @description Encoded owner email. */ - number_of_steps?: number | null; + email_hash?: string | null; /** - * Owner - * @description The name of the user who owns this workflow. + * ID + * @description The encoded ID of the resource to be shared. + * @example 0123456789ABCDEF */ - owner: string; + id: string; + /** + * Importable + * @description Whether this resource can be published using a link. + */ + importable: boolean; /** * Published - * @description Whether this workflow is currently publicly available to all users. + * @description Whether this resource is currently published. */ published: boolean; /** - * Show in Tool Panel - * @description Whether to display this workflow in the Tools Panel. + * Title + * @description The title or name of the resource. */ - show_in_tool_panel?: boolean | null; + title: string; /** - * Slug - * @description The slug of the workflow. + * Username + * @description The owner's username. */ - slug: string | null; + username?: string | null; /** - * Source Metadata - * @description The source metadata of the workflow. + * Username and slug + * @description The relative URL in the form of /u/{username}/{resource_single_char}/{slug} */ - source_metadata: Record | null; + username_and_slug?: string | null; /** - * Steps - * @description A dictionary with information about all the steps of the workflow. - * @default {} + * Users shared with + * @description The list of encoded ids for users the resource has been shared. + * @default [] */ - steps?: { - [key: string]: - | ( - | components["schemas"]["InputDataStep"] - | components["schemas"]["InputDataCollectionStep"] - | components["schemas"]["InputParameterStep"] - | components["schemas"]["PauseStep"] - | components["schemas"]["ToolStep"] - | components["schemas"]["SubworkflowStep"] - ) - | undefined; - }; - tags: components["schemas"]["TagCollection"]; + users_shared_with: components["schemas"]["UserEmail"][]; + }; + /** ShortTermStoreExportPayload */ + ShortTermStoreExportPayload: { + /** Duration */ + duration?: number | null; /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * Include deleted + * @description Include file contents for deleted datasets (if include_files is True). + * @default false */ - update_time: string; + include_deleted: boolean; /** - * URL - * @deprecated - * @description The relative URL to access this item. + * Include Files + * @description include materialized files in export when available + * @default true */ - url: string; + include_files: boolean; /** - * Version - * @description The version of the workflow represented by an incremental number. + * Include hidden + * @description Include file contents for hidden datasets (if include_files is True). + * @default false */ - version: number; - }; - /** SubworkflowStep */ - SubworkflowStep: { + include_hidden: boolean; /** - * Annotation - * @description An annotation to provide details or to help understand the purpose and usage of this item. + * @description format of model store to export + * @default tar.gz */ - annotation: string | null; + model_store_format: components["schemas"]["ModelStoreFormat"]; /** - * ID - * @description The identifier of the step. It matches the index order of the step inside the workflow. + * Short Term Storage Request Id + * Format: uuid */ - id: number; + short_term_storage_request_id: string; + }; + /** ShowFullJobResponse */ + ShowFullJobResponse: { /** - * Input Steps - * @description A dictionary containing information about the inputs connected to this workflow step. + * Command Line + * @description The command line produced by the job. Users can see this value if allowed in the configuration, administrator can always see this value. */ - input_steps: { - [key: string]: components["schemas"]["InputStep"] | undefined; - }; + command_line?: string | null; /** - * Tool ID - * @description The unique name of the tool associated with this step. + * Command Version + * @description Tool version indicated during job execution. */ - tool_id?: string | null; + command_version?: string | null; /** - * Tool Inputs - * @description TODO + * Copied from Job-ID + * @description Reference to cached job if job execution was cached. */ - tool_inputs?: Record; + copied_from_job_id?: string | null; /** - * Tool Version - * @description The version of the tool associated with this step. + * Create Time + * Format: date-time + * @description The time and date this item was created. */ - tool_version?: string | null; + create_time: string; /** - * Type - * @constant - * @enum {string} + * Job dependencies + * @description The dependencies of the job. */ - type: "subworkflow"; - /** When */ - when: string | null; + dependencies?: unknown[] | null; /** - * Workflow ID - * @description The encoded ID of the workflow that will be run on this step. - * @example 0123456789ABCDEF - */ - workflow_id: string; - }; - /** SuitableConverter */ - SuitableConverter: { + * Exit Code + * @description The exit code returned by the tool. Can be unset if the job is not completed yet. + */ + exit_code?: number | null; /** - * Name - * @description The name of the converter. + * External ID + * @description The job id used by the external job runner (Condor, Pulsar, etc.). Only administrator can see this value. */ - name: string; + external_id?: string | null; /** - * Original Type - * @description The type to convert from. + * Galaxy Version + * @description The (major) version of Galaxy used to create this job. */ - original_type: string; + galaxy_version?: string | null; /** - * Target Type - * @description The type to convert to. + * Job Handler + * @description The job handler process assigned to handle this job. Only administrator can see this value. */ - target_type: string; + handler?: string | null; /** - * Tool Id - * @description The ID of the tool that can perform the type conversion. + * History ID + * @description The encoded ID of the history associated with this item. */ - tool_id: string; - }; - /** - * SuitableConverters - * @description Collection of converters that can be used on a particular dataset collection. - */ - SuitableConverters: components["schemas"]["SuitableConverter"][]; - /** - * SupportedType - * @enum {string} - */ - SupportedType: "None" | "BasicAuth" | "BearerAuth" | "PassportAuth"; - /** - * TagCollection - * @description Represents the collection of tags associated with an item. - */ - TagCollection: string[]; - /** TagOperationParams */ - TagOperationParams: { - /** Tags */ - tags: string[]; - /** Type */ - type: "add_tags" | "remove_tags"; - }; - /** - * TaggableItemClass - * @enum {string} - */ - TaggableItemClass: - | "History" - | "HistoryDatasetAssociation" - | "HistoryDatasetCollectionAssociation" - | "LibraryDatasetDatasetAssociation" - | "Page" - | "StoredWorkflow" - | "Visualization"; - /** - * TaskState - * @description Enum representing the possible states of a task. - * @enum {string} - */ - TaskState: "PENDING" | "STARTED" | "RETRY" | "FAILURE" | "SUCCESS"; - /** TemplateSecret */ - TemplateSecret: { - /** Help */ - help: string | null; - /** Label */ - label?: string | null; - /** Name */ - name: string; - }; - /** TemplateVariableBoolean */ - TemplateVariableBoolean: { + history_id?: string | null; /** - * Default - * @default false + * Job ID + * @example 0123456789ABCDEF */ - default?: boolean; - /** Help */ - help: string | null; - /** Label */ - label?: string | null; - /** Name */ - name: string; + id: string; /** - * Type - * @constant - * @enum {string} + * Inputs + * @description Dictionary mapping all the tool inputs (by name) to the corresponding data references. + * @default {} */ - type: "boolean"; - }; - /** TemplateVariableInteger */ - TemplateVariableInteger: { + inputs: { + [key: string]: components["schemas"]["EncodedDatasetJobInfo"]; + }; /** - * Default - * @default 0 + * Job Messages + * @description List with additional information and possible reasons for a failed job. */ - default?: number; - /** Help */ - help: string | null; - /** Label */ - label?: string | null; - /** Name */ - name: string; + job_messages?: unknown[] | null; /** - * Type - * @constant - * @enum {string} + * Job Metrics + * @description Collections of metrics provided by `JobInstrumenter` plugins on a particular job. Only administrators can see these metrics. */ - type: "integer"; - }; - /** TemplateVariablePathComponent */ - TemplateVariablePathComponent: { - /** Default */ - default?: string | null; - /** Help */ - help: string | null; - /** Label */ - label?: string | null; - /** Name */ - name: string; + job_metrics?: components["schemas"]["JobMetricCollection"] | null; /** - * Type - * @constant - * @enum {string} + * Job Runner Name + * @description Name of the job runner plugin that handles this job. Only administrator can see this value. */ - type: "path_component"; - }; - /** TemplateVariableString */ - TemplateVariableString: { + job_runner_name?: string | null; /** - * Default - * @default + * Job Standard Error + * @description The captured standard error of the job execution. */ - default?: string; - /** Help */ - help: string | null; - /** Label */ - label?: string | null; - /** Name */ - name: string; + job_stderr?: string | null; /** - * Type + * Job Standard Output + * @description The captured standard output of the job execution. + */ + job_stdout?: string | null; + /** + * Model class + * @description The name of the database model class. * @constant * @enum {string} */ - type: "string"; - }; - /** ToolDataDetails */ - ToolDataDetails: { + model_class: "Job"; /** - * Columns - * @description A list of column names + * Output collections + * @default {} */ - columns: string[]; + output_collections: { + [key: string]: components["schemas"]["EncodedHdcaSourceId"]; + }; /** - * Fields - * @default [] + * Outputs + * @description Dictionary mapping all the tool outputs (by name) to the corresponding data references. + * @default {} */ - fields?: string[][]; + outputs: { + [key: string]: components["schemas"]["EncodedDatasetJobInfo"]; + }; /** - * Model class - * @description The name of class modelling this tool data + * Parameters + * @description Object containing all the parameters of the tool associated with this job. The specific parameters depend on the tool itself. */ - model_class: string; + params: unknown; /** - * Name - * @description The name of this tool data entry + * State + * @description Current state of the job. */ - name: string; - }; - /** ToolDataEntry */ - ToolDataEntry: { + state: components["schemas"]["JobState"]; /** - * Model class - * @description The name of class modelling this tool data + * Standard Error + * @description Combined tool and job standard error streams. */ - model_class: string; + stderr?: string | null; /** - * Name - * @description The name of this tool data entry + * Standard Output + * @description Combined tool and job standard output streams. */ - name: string; - }; - /** ToolDataEntryList */ - ToolDataEntryList: components["schemas"]["ToolDataEntry"][]; - /** ToolDataField */ - ToolDataField: { + stdout?: string | null; /** - * Base directories - * @description A list of directories where the data files are stored + * Tool ID + * @description Identifier of the tool that generated this job. */ - base_dir: string[]; - /** Fields */ - fields: { - [key: string]: string | undefined; - }; + tool_id: string; /** - * Files - * @description A dictionary of file names and their size in bytes + * Tool Standard Error + * @description The captured standard error of the tool executed by the job. */ - files: { - [key: string]: number | undefined; - }; + tool_stderr?: string | null; /** - * Fingerprint - * @description SHA1 Hash + * Tool Standard Output + * @description The captured standard output of the tool executed by the job. */ - fingerprint: string; + tool_stdout?: string | null; /** - * Model class - * @description The name of class modelling this tool data field + * Update Time + * Format: date-time + * @description The last time and date this item was updated. */ - model_class: string; + update_time: string; /** - * Name - * @description The name of the field + * User Email + * @description The email of the user that owns this job. Only the owner of the job and administrators can see this value. */ - name: string; - }; - /** ToolDataItem */ - ToolDataItem: { + user_email?: string | null; /** - * Values - * @description A `\t` (TAB) separated list of column __contents__. You must specify a value for each of the columns of the data table. + * User Id + * @description User ID of user that ran this job */ - values: string; + user_id?: string | null; }; - /** ToolStep */ - ToolStep: { + /** + * Src + * @enum {string} + */ + Src: "url" | "pasted" | "files" | "path" | "composite" | "ftp_import" | "server_dir"; + /** StepReferenceByLabel */ + StepReferenceByLabel: { /** - * Annotation - * @description An annotation to provide details or to help understand the purpose and usage of this item. + * Label + * @description The unique label of the step being referenced. */ - annotation: string | null; + label: string; + }; + /** StepReferenceByOrderIndex */ + StepReferenceByOrderIndex: { /** - * ID - * @description The identifier of the step. It matches the index order of the step inside the workflow. + * Order Index + * @description The order_index of the step being referenced. The order indices of a workflow start at 0. */ - id: number; + order_index: number; + }; + /** StorageItemCleanupError */ + StorageItemCleanupError: { + /** Error */ + error: string; /** - * Input Steps - * @description A dictionary containing information about the inputs connected to this workflow step. + * Item Id + * @example 0123456789ABCDEF */ - input_steps: { - [key: string]: components["schemas"]["InputStep"] | undefined; - }; + item_id: string; + }; + /** StorageItemsCleanupResult */ + StorageItemsCleanupResult: { + /** Errors */ + errors: components["schemas"]["StorageItemCleanupError"][]; + /** Success Item Count */ + success_item_count: number; + /** Total Free Bytes */ + total_free_bytes: number; + /** Total Item Count */ + total_item_count: number; + }; + /** StoreExportPayload */ + StoreExportPayload: { /** - * Tool ID - * @description The unique name of the tool associated with this step. + * Include deleted + * @description Include file contents for deleted datasets (if include_files is True). + * @default false */ - tool_id?: string | null; + include_deleted: boolean; /** - * Tool Inputs - * @description TODO + * Include Files + * @description include materialized files in export when available + * @default true */ - tool_inputs?: Record; + include_files: boolean; /** - * Tool Version - * @description The version of the tool associated with this step. + * Include hidden + * @description Include file contents for hidden datasets (if include_files is True). + * @default false */ - tool_version?: string | null; + include_hidden: boolean; /** - * Type - * @constant - * @enum {string} + * @description format of model store to export + * @default tar.gz */ - type: "tool"; - /** When */ - when: string | null; + model_store_format: components["schemas"]["ModelStoreFormat"]; }; - /** Tour */ - Tour: { - /** - * Description - * @description Tour description - */ - description: string; + /** StoredItem */ + StoredItem: { /** - * Identifier - * @description Tour identifier + * Id + * @example 0123456789ABCDEF */ id: string; - /** - * Name - * @description Name of tour - */ + /** Name */ name: string; + /** Size */ + size: number; + /** Type */ + type: "history" | "dataset"; /** - * Requirements - * @description Requirements to run the tour. - */ - requirements: components["schemas"]["Requirement"][]; - /** - * Tags - * @description Topic topic tags + * Update Time + * Format: date-time + * @description The last time and date this item was updated. */ - tags: string[]; + update_time: string; }; - /** TourDetails */ - TourDetails: { + /** + * StoredItemOrderBy + * @description Available options for sorting Stored Items results. + * @enum {string} + */ + StoredItemOrderBy: "name-asc" | "name-dsc" | "size-asc" | "size-dsc" | "update_time-asc" | "update_time-dsc"; + /** StoredWorkflowDetailed */ + StoredWorkflowDetailed: { /** - * Description - * @description Tour description + * Annotation + * @description An annotation to provide details or to help understand the purpose and usage of this item. */ - description: string; + annotation: string | null; /** - * Name - * @description Name of tour + * Annotations + * @description An list of annotations to provide details or to help understand the purpose and usage of this workflow. */ - name: string; + annotations?: string[] | null; /** - * Requirements - * @description Requirements to run the tour. + * Create Time + * Format: date-time + * @description The time and date this item was created. */ - requirements: components["schemas"]["Requirement"][]; + create_time: string; /** - * Steps - * @description Tour steps + * Creator + * @description Additional information about the creator (or multiple creators) of this workflow. */ - steps: components["schemas"]["TourStep"][]; + creator?: + | (components["schemas"]["Person"] | components["schemas"]["galaxy__schema__schema__Organization"])[] + | null; /** - * Tags - * @description Topic topic tags + * Deleted + * @description Whether this item is marked as deleted. */ - tags: string[]; + deleted: boolean; /** - * Default title - * @description Default title for each step + * Email Hash + * @description The hash of the email of the creator of this workflow */ - title_default?: string | null; - }; - /** - * TourList - * @default [] - */ - TourList: components["schemas"]["Tour"][]; - /** TourStep */ - TourStep: { + email_hash: string | null; /** - * Content - * @description Text shown to the user + * Hidden + * @description TODO */ - content?: string | null; + hidden: boolean; /** - * Element - * @description CSS selector for the element to be described/clicked + * Id + * @example 0123456789ABCDEF */ - element?: string | null; + id: string; /** - * Placement - * @description Placement of the text box relative to the selected element + * Importable + * @description Indicates if the workflow is importable by the current user. */ - placement?: string | null; + importable: boolean | null; /** - * Post-click - * @description Elements that receive a click() event after the step is shown + * Inputs + * @description A dictionary containing information about all the inputs of the workflow. + * @default {} */ - postclick?: boolean | string[] | null; + inputs: { + [key: string]: components["schemas"]["WorkflowInput"]; + }; /** - * Pre-click - * @description Elements that receive a click() event before the step is shown + * Latest workflow UUID + * @description TODO */ - preclick?: boolean | string[] | null; + latest_workflow_uuid?: string | null; /** - * Text-insert - * @description Text to insert if element is a text box (e.g. tool search or upload) + * License + * @description SPDX Identifier of the license associated with this workflow. */ - textinsert?: string | null; + license?: string | null; /** - * Title - * @description Title displayed in the header of the step container + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} */ - title?: string | null; - }; - /** UndeleteHistoriesPayload */ - UndeleteHistoriesPayload: { + model_class: "StoredWorkflow"; /** - * IDs - * @description List of history IDs to be undeleted. + * Name + * @description The name of the history. */ - ids: string[]; - }; - /** UpdateAnnotationAction */ - UpdateAnnotationAction: { + name: string; /** - * Action Type - * @constant - * @enum {string} + * Number of Steps + * @description The number of steps that make up this workflow. */ - action_type: "update_annotation"; - /** Annotation */ - annotation: string; - }; - /** - * UpdateCollectionAttributePayload - * @description Contains attributes that can be updated for all elements in a dataset collection. - */ - UpdateCollectionAttributePayload: { + number_of_steps?: number | null; /** - * Dbkey - * @description TODO + * Owner + * @description The name of the user who owns this workflow. */ - dbkey: string; - }; - /** - * UpdateContentItem - * @description Used for updating a particular history item. All fields are optional. - */ - UpdateContentItem: { + owner: string; /** - * Content Type - * @description The type of this item. + * Published + * @description Whether this workflow is currently publicly available to all users. */ - history_content_type: components["schemas"]["HistoryContentType"]; + published: boolean; /** - * Id - * @example 0123456789ABCDEF + * Show in Tool Panel + * @description Whether to display this workflow in the Tools Panel. */ - id: string; - [key: string]: unknown | undefined; - }; - /** UpdateCreatorAction */ - UpdateCreatorAction: { + show_in_tool_panel?: boolean | null; /** - * Action Type - * @constant - * @enum {string} + * Slug + * @description The slug of the workflow. */ - action_type: "update_creator"; - /** Creator */ - creator?: Record; - }; - /** - * UpdateHistoryContentsBatchPayload - * @description Contains property values that will be updated for all the history `items` provided. - * @example { - * "items": [ - * { - * "history_content_type": "dataset", - * "id": "string" - * } - * ], - * "visible": false - * } - */ - UpdateHistoryContentsBatchPayload: { + slug: string | null; /** - * Items - * @description A list of content items to update with the changes. + * Source Metadata + * @description The source metadata of the workflow. */ - items: components["schemas"]["UpdateContentItem"][]; - [key: string]: unknown | undefined; + source_metadata: Record | null; + /** + * Steps + * @description A dictionary with information about all the steps of the workflow. + * @default {} + */ + steps: { + [key: string]: + | components["schemas"]["InputDataStep"] + | components["schemas"]["InputDataCollectionStep"] + | components["schemas"]["InputParameterStep"] + | components["schemas"]["PauseStep"] + | components["schemas"]["ToolStep"] + | components["schemas"]["SubworkflowStep"]; + }; + tags: components["schemas"]["TagCollection"]; + /** + * Update Time + * Format: date-time + * @description The last time and date this item was updated. + */ + update_time: string; + /** + * URL + * @deprecated + * @description The relative URL to access this item. + */ + url: string; + /** + * Version + * @description The version of the workflow represented by an incremental number. + */ + version: number; }; - /** - * UpdateHistoryContentsPayload - * @description Can contain arbitrary/dynamic fields that will be updated for a particular history item. - * @example { - * "annotation": "Test", - * "visible": false - * } - */ - UpdateHistoryContentsPayload: { + /** SubworkflowStep */ + SubworkflowStep: { /** * Annotation - * @description A user-defined annotation for this item. + * @description An annotation to provide details or to help understand the purpose and usage of this item. */ - annotation?: string | null; + annotation: string | null; /** - * Deleted - * @description Whether this item is marked as deleted. + * ID + * @description The identifier of the step. It matches the index order of the step inside the workflow. */ - deleted?: boolean | null; + id: number; /** - * Name - * @description The new name of the item. + * Input Steps + * @description A dictionary containing information about the inputs connected to this workflow step. */ - name?: string | null; + input_steps: { + [key: string]: components["schemas"]["InputStep"]; + }; /** - * Tags - * @description A list of tags to add to this item. + * Tool ID + * @description The unique name of the tool associated with this step. */ - tags?: components["schemas"]["TagCollection"] | null; + tool_id?: string | null; /** - * Visible - * @description Whether this item is visible in the history. + * Tool Inputs + * @description TODO */ - visible?: boolean | null; - [key: string]: unknown | undefined; - }; - /** UpdateInstancePayload */ - UpdateInstancePayload: { - /** Active */ - active?: boolean | null; - /** Description */ - description?: string | null; - /** Hidden */ - hidden?: boolean | null; - /** Name */ - name?: string | null; - /** Variables */ - variables?: { - [key: string]: (string | boolean | number) | undefined; - } | null; - }; - /** UpdateInstanceSecretPayload */ - UpdateInstanceSecretPayload: { - /** Secret Name */ - secret_name: string; - /** Secret Value */ - secret_value: string; - }; - /** UpdateLibraryFolderPayload */ - UpdateLibraryFolderPayload: { + tool_inputs?: unknown; /** - * Description - * @description The new description of the library folder. + * Tool Version + * @description The version of the tool associated with this step. */ - description?: string | null; + tool_version?: string | null; /** - * Name - * @description The new name of the library folder. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - name?: string | null; - }; - /** UpdateLibraryPayload */ - UpdateLibraryPayload: { + type: "subworkflow"; + /** When */ + when: string | null; /** - * Description - * @description A detailed description of the Library. Leave unset to keep the existing. + * Workflow ID + * @description The encoded ID of the workflow that will be run on this step. + * @example 0123456789ABCDEF */ - description?: string | null; + workflow_id: string; + }; + /** SuitableConverter */ + SuitableConverter: { /** * Name - * @description The new name of the Library. Leave unset to keep the existing. + * @description The name of the converter. */ - name?: string | null; + name: string; /** - * Synopsis - * @description A short text describing the contents of the Library. Leave unset to keep the existing. + * Original Type + * @description The type to convert from. */ - synopsis?: string | null; - }; - /** UpdateLicenseAction */ - UpdateLicenseAction: { + original_type: string; /** - * Action Type - * @constant - * @enum {string} + * Target Type + * @description The type to convert to. */ - action_type: "update_license"; - /** License */ - license: string; - }; - /** UpdateNameAction */ - UpdateNameAction: { + target_type: string; /** - * Action Type - * @constant - * @enum {string} + * Tool Id + * @description The ID of the tool that can perform the type conversion. */ - action_type: "update_name"; + tool_id: string; + }; + /** + * SuitableConverters + * @description Collection of converters that can be used on a particular dataset collection. + */ + SuitableConverters: components["schemas"]["SuitableConverter"][]; + /** + * SupportedType + * @enum {string} + */ + SupportedType: "None" | "BasicAuth" | "BearerAuth" | "PassportAuth"; + /** + * TagCollection + * @description Represents the collection of tags associated with an item. + */ + TagCollection: string[]; + /** TagOperationParams */ + TagOperationParams: { + /** Tags */ + tags: string[]; + /** Type */ + type: "add_tags" | "remove_tags"; + }; + /** + * TaggableItemClass + * @enum {string} + */ + TaggableItemClass: + | "History" + | "HistoryDatasetAssociation" + | "HistoryDatasetCollectionAssociation" + | "LibraryDatasetDatasetAssociation" + | "Page" + | "StoredWorkflow" + | "Visualization"; + /** + * TaskState + * @description Enum representing the possible states of a task. + * @enum {string} + */ + TaskState: "PENDING" | "STARTED" | "RETRY" | "FAILURE" | "SUCCESS"; + /** TemplateSecret */ + TemplateSecret: { + /** Help */ + help: string | null; + /** Label */ + label?: string | null; /** Name */ name: string; }; - /** UpdateObjectStoreIdPayload */ - UpdateObjectStoreIdPayload: { + /** TemplateVariableBoolean */ + TemplateVariableBoolean: { /** - * Object Store Id - * @description Object store ID to update to, it must be an object store with the same device ID as the target dataset currently. + * Default + * @default false */ - object_store_id: string; - }; - /** UpdateOutputLabelAction */ - UpdateOutputLabelAction: { + default: boolean; + /** Help */ + help: string | null; + /** Label */ + label?: string | null; + /** Name */ + name: string; /** - * Action Type + * Type * @constant * @enum {string} */ - action_type: "update_output_label"; - /** Output */ - output: - | components["schemas"]["OutputReferenceByOrderIndex"] - | components["schemas"]["OutputReferenceByLabel"]; - /** Output Label */ - output_label: string; + type: "boolean"; }; - /** UpdateQuotaParams */ - UpdateQuotaParams: { - /** - * Amount - * @description Quota size (E.g. ``10000MB``, ``99 gb``, ``0.2T``, ``unlimited``) - */ - amount?: string | null; + /** TemplateVariableInteger */ + TemplateVariableInteger: { /** * Default - * @description Whether or not this is a default quota. Valid values are ``no``, ``unregistered``, ``registered``. Calling this method with ``default="no"`` on a non-default quota will throw an error. Not passing this parameter is equivalent to passing ``no``. + * @default 0 */ - default?: components["schemas"]["DefaultQuotaValues"] | null; - /** - * Description - * @description Detailed text description for this Quota. - */ - description?: string | null; - /** - * Groups - * @description A list of group IDs or names to associate with this quota. - */ - in_groups?: string[] | null; - /** - * Users - * @description A list of user IDs or user emails to associate with this quota. - */ - in_users?: string[] | null; - /** - * Name - * @description The new name of the quota. This must be unique within a Galaxy instance. - */ - name?: string | null; - /** - * Operation - * @description One of (``+``, ``-``, ``=``). If you wish to change this value, you must also provide the ``amount``, otherwise it will not take effect. - * @default = - */ - operation?: components["schemas"]["QuotaOperation"]; - }; - /** UpdateReportAction */ - UpdateReportAction: { - /** - * Action Type - * @constant - * @enum {string} - */ - action_type: "update_report"; - report: components["schemas"]["Report"]; - }; - /** UpdateStepLabelAction */ - UpdateStepLabelAction: { + default: number; + /** Help */ + help: string | null; + /** Label */ + label?: string | null; + /** Name */ + name: string; /** - * Action Type + * Type * @constant * @enum {string} */ - action_type: "update_step_label"; - /** - * Label - * @description The unique label of the step being referenced. - */ - label: string; - /** - * Step - * @description The target step for this action. - */ - step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; + type: "integer"; }; - /** UpdateStepPositionAction */ - UpdateStepPositionAction: { + /** TemplateVariablePathComponent */ + TemplateVariablePathComponent: { + /** Default */ + default?: string | null; + /** Help */ + help: string | null; + /** Label */ + label?: string | null; + /** Name */ + name: string; /** - * Action Type + * Type * @constant * @enum {string} */ - action_type: "update_step_position"; - position_shift: components["schemas"]["Position"]; - /** - * Step - * @description The target step for this action. - */ - step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; + type: "path_component"; }; - /** - * UpdateUserNotificationPreferencesRequest - * @description Contains the new notification preferences of a user. - */ - UpdateUserNotificationPreferencesRequest: { + /** TemplateVariableString */ + TemplateVariableString: { /** - * Preferences - * @description The new notification preferences of the user. + * Default + * @default */ - preferences: { - [key: string]: components["schemas"]["NotificationCategorySettings"] | undefined; - }; - }; - /** UpgradeAllStepsAction */ - UpgradeAllStepsAction: { + default: string; + /** Help */ + help: string | null; + /** Label */ + label?: string | null; + /** Name */ + name: string; /** - * Action Type + * Type * @constant * @enum {string} */ - action_type: "upgrade_all_steps"; + type: "string"; }; - /** UpgradeInstancePayload */ - UpgradeInstancePayload: { + /** TestUpdateInstancePayload */ + TestUpdateInstancePayload: { + /** Variables */ + variables?: { + [key: string]: string | boolean | number; + } | null; + }; + /** TestUpgradeInstancePayload */ + TestUpgradeInstancePayload: { /** Secrets */ secrets: { - [key: string]: string | undefined; + [key: string]: string; }; /** Template Version */ template_version: number; /** Variables */ variables: { - [key: string]: (string | boolean | number) | undefined; + [key: string]: string | boolean | number; }; }; - /** UpgradeSubworkflowAction */ - UpgradeSubworkflowAction: { + /** ToolDataDetails */ + ToolDataDetails: { /** - * Action Type - * @constant - * @enum {string} + * Columns + * @description A list of column names */ - action_type: "upgrade_subworkflow"; - /** Content Id */ - content_id?: string | null; + columns: string[]; /** - * Step - * @description The target step for this action. + * Fields + * @default [] */ - step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; - }; - /** UpgradeToolAction */ - UpgradeToolAction: { + fields: string[][]; /** - * Action Type - * @constant - * @enum {string} + * Model class + * @description The name of class modelling this tool data */ - action_type: "upgrade_tool"; + model_class: string; /** - * Step - * @description The target step for this action. + * Name + * @description The name of this tool data entry */ - step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; - /** Tool Version */ - tool_version?: string | null; + name: string; }; - /** UrlDataElement */ - UrlDataElement: { - /** Md5 */ - MD5?: string | null; + /** ToolDataEntry */ + ToolDataEntry: { /** - * Auto Decompress - * @description Decompress compressed data before sniffing? - * @default false + * Model class + * @description The name of class modelling this tool data */ - auto_decompress?: boolean; - /** Collection Type */ - collection_type?: string | null; - /** Created From Basename */ - created_from_basename?: string | null; + model_class: string; /** - * Dbkey - * @default ? + * Name + * @description The name of this tool data entry */ - dbkey?: string; + name: string; + }; + /** ToolDataEntryList */ + ToolDataEntryList: components["schemas"]["ToolDataEntry"][]; + /** ToolDataField */ + ToolDataField: { /** - * Deferred - * @default false + * Base directories + * @description A list of directories where the data files are stored */ - deferred?: boolean; - /** Description */ - description?: string | null; - elements_from?: components["schemas"]["ElementsFromType"] | null; + base_dir: string[]; + /** Fields */ + fields: { + [key: string]: string; + }; /** - * Ext - * @default auto + * Files + * @description A dictionary of file names and their size in bytes */ - ext?: string; - extra_files?: components["schemas"]["ExtraFiles"] | null; - /** Info */ - info?: string | null; - /** Name */ - name?: string | number | number | boolean | null; + files: { + [key: string]: number; + }; /** - * Space To Tab - * @default false + * Fingerprint + * @description SHA1 Hash */ - space_to_tab?: boolean; + fingerprint: string; /** - * Src - * @constant - * @enum {string} + * Model class + * @description The name of class modelling this tool data field */ - src: "url"; - /** Tags */ - tags?: string[] | null; + model_class: string; /** - * To Posix Lines - * @default false + * Name + * @description The name of the field */ - to_posix_lines?: boolean; + name: string; + }; + /** ToolDataItem */ + ToolDataItem: { /** - * Url - * @description URL to upload + * Values + * @description A `\t` (TAB) separated list of column __contents__. You must specify a value for each of the columns of the data table. */ - url: string; + values: string; }; - /** UserBeaconSetting */ - UserBeaconSetting: { + /** ToolStep */ + ToolStep: { /** - * Enabled - * @description True if beacon sharing is enabled + * Annotation + * @description An annotation to provide details or to help understand the purpose and usage of this item. */ - enabled: boolean; - }; - /** UserConcreteObjectStoreModel */ - UserConcreteObjectStoreModel: { - /** Active */ - active: boolean; - /** Badges */ - badges: components["schemas"]["BadgeDict"][]; - /** Description */ - description?: string | null; - /** Device */ - device?: string | null; - /** Hidden */ - hidden: boolean; - /** Name */ - name?: string | null; - /** Object Store Id */ - object_store_id?: string | null; - /** Private */ - private: boolean; - /** Purged */ - purged: boolean; - quota: components["schemas"]["QuotaModel"]; - /** Secrets */ - secrets: string[]; - /** Template Id */ - template_id: string; - /** Template Version */ - template_version: number; + annotation: string | null; /** - * Type - * @enum {string} + * ID + * @description The identifier of the step. It matches the index order of the step inside the workflow. */ - type: "aws_s3" | "azure_blob" | "boto3" | "disk" | "generic_s3"; + id: number; /** - * Uuid - * Format: uuid4 + * Input Steps + * @description A dictionary containing information about the inputs connected to this workflow step. */ - uuid: string; - /** Variables */ - variables: { - [key: string]: (string | boolean | number) | undefined; - } | null; - }; - /** UserCreationPayload */ - UserCreationPayload: { + input_steps: { + [key: string]: components["schemas"]["InputStep"]; + }; /** - * Email - * @description Email of the user + * Tool ID + * @description The unique name of the tool associated with this step. */ - email: string; + tool_id?: string | null; /** - * user_password - * @description The password of the user. + * Tool Inputs + * @description TODO */ - password: string; + tool_inputs?: unknown; /** - * user_name - * @description The name of the user. + * Tool Version + * @description The version of the tool associated with this step. */ - username: string; - }; - /** UserDeletionPayload */ - UserDeletionPayload: { + tool_version?: string | null; /** - * Purge user - * @deprecated - * @description Purge the user. Deprecated, please use the `purge` query parameter instead. - * @default false + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - purge?: boolean; + type: "tool"; + /** When */ + when: string | null; }; - /** UserEmail */ - UserEmail: { + /** Tour */ + Tour: { /** - * Email - * @description The email of the user. + * Description + * @description Tour description */ - email: string; + description: string; /** - * User ID - * @description The encoded ID of the user. - * @example 0123456789ABCDEF + * Identifier + * @description Tour identifier */ id: string; - }; - /** UserFileSourceModel */ - UserFileSourceModel: { - /** Active */ - active: boolean; - /** Description */ - description: string | null; - /** Hidden */ - hidden: boolean; - /** Name */ - name: string; - /** Purged */ - purged: boolean; - /** Secrets */ - secrets: string[]; - /** Template Id */ - template_id: string; - /** Template Version */ - template_version: number; /** - * Type - * @enum {string} + * Name + * @description Name of tour */ - type: "ftp" | "posix" | "s3fs" | "azure"; - /** Uri Root */ - uri_root: string; + name: string; /** - * Uuid - * Format: uuid4 + * Requirements + * @description Requirements to run the tour. */ - uuid: string; - /** Variables */ - variables: { - [key: string]: (string | boolean | number) | undefined; - } | null; - }; - /** - * UserModel - * @description User in a transaction context. - */ - UserModel: { + requirements: components["schemas"]["Requirement"][]; /** - * Active - * @description User is active + * Tags + * @description Topic topic tags */ - active: boolean; + tags: string[]; + }; + /** TourDetails */ + TourDetails: { /** - * Deleted - * @description User is deleted + * Description + * @description Tour description */ - deleted: boolean; + description: string; /** - * Email - * @description Email of the user + * Name + * @description Name of tour */ - email: string; + name: string; /** - * ID - * @description Encoded ID of the user - * @example 0123456789ABCDEF + * Requirements + * @description Requirements to run the tour. */ - id: string; - /** Last password change */ - last_password_change: string | null; + requirements: components["schemas"]["Requirement"][]; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Steps + * @description Tour steps */ - model_class: "User"; + steps: components["schemas"]["TourStep"][]; /** - * user_name - * @description The name of the user. + * Tags + * @description Topic topic tags */ - username: string; - }; - /** - * UserNotificationListResponse - * @description A list of user notifications. - */ - UserNotificationListResponse: components["schemas"]["UserNotificationResponse"][]; - /** - * UserNotificationPreferences - * @description Contains the full notification preferences of a user. - */ - UserNotificationPreferences: { + tags: string[]; /** - * Preferences - * @description The notification preferences of the user. + * Default title + * @description Default title for each step */ - preferences: { - [key: string]: components["schemas"]["NotificationCategorySettings"] | undefined; - }; + title_default?: string | null; }; /** - * UserNotificationResponse - * @description A notification response specific to the user. + * TourList + * @default [] */ - UserNotificationResponse: { - /** - * Category - * @description The category of the notification. Represents the type of the notification. E.g. 'message' or 'new_shared_item'. - */ - category: components["schemas"]["PersonalNotificationCategory"]; + TourList: components["schemas"]["Tour"][]; + /** TourStep */ + TourStep: { /** * Content - * @description The content of the notification. The structure depends on the category. - */ - content: - | components["schemas"]["MessageNotificationContent"] - | components["schemas"]["NewSharedItemNotificationContent"] - | components["schemas"]["BroadcastNotificationContent"]; - /** - * Create time - * Format: date-time - * @description The time when the notification was created. + * @description Text shown to the user */ - create_time: string; + content?: string | null; /** - * Deleted - * @description Whether the notification is marked as deleted by the user. Deleted notifications don't show up in the notification list. + * Element + * @description CSS selector for the element to be described/clicked */ - deleted: boolean; + element?: string | null; /** - * Expiration time - * @description The time when the notification will expire. If not set, the notification will never expire. Expired notifications will be permanently deleted. + * Placement + * @description Placement of the text box relative to the selected element */ - expiration_time?: string | null; + placement?: string | null; /** - * ID - * @description The encoded ID of the notification. - * @example 0123456789ABCDEF + * Post-click + * @description Elements that receive a click() event after the step is shown */ - id: string; + postclick?: boolean | string[] | null; /** - * Publication time - * Format: date-time - * @description The time when the notification was published. Notifications can be created and then published at a later time. + * Pre-click + * @description Elements that receive a click() event before the step is shown */ - publication_time: string; + preclick?: boolean | string[] | null; /** - * Seen time - * @description The time when the notification was seen by the user. If not set, the notification was not seen yet. + * Text-insert + * @description Text to insert if element is a text box (e.g. tool search or upload) */ - seen_time?: string | null; + textinsert?: string | null; /** - * Source - * @description The source of the notification. Represents the agent that created the notification. E.g. 'galaxy' or 'admin'. + * Title + * @description Title displayed in the header of the step container */ - source: string; + title?: string | null; + }; + /** UndeleteHistoriesPayload */ + UndeleteHistoriesPayload: { /** - * Update time - * Format: date-time - * @description The time when the notification was last updated. + * IDs + * @description List of history IDs to be undeleted. */ - update_time: string; + ids: string[]; + }; + /** UpdateAnnotationAction */ + UpdateAnnotationAction: { /** - * Variant - * @description The variant of the notification. Represents the intent or relevance of the notification. E.g. 'info' or 'urgent'. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - variant: components["schemas"]["NotificationVariant"]; + action_type: "update_annotation"; + /** Annotation */ + annotation: string; }; /** - * UserNotificationUpdateRequest - * @description A notification update request specific to the user. + * UpdateCollectionAttributePayload + * @description Contains attributes that can be updated for all elements in a dataset collection. */ - UserNotificationUpdateRequest: { + UpdateCollectionAttributePayload: { /** - * Deleted - * @description Whether the notification should be marked as deleted by the user. If not set, the notification will not be changed. - */ - deleted?: boolean | null; - /** - * Seen - * @description Whether the notification should be marked as seen by the user. If not set, the notification will not be changed. + * Dbkey + * @description TODO */ - seen?: boolean | null; + dbkey: string; }; /** - * UserNotificationsBatchUpdateRequest - * @description A batch update request specific for user notifications. + * UpdateContentItem + * @description Used for updating a particular history item. All fields are optional. */ - UserNotificationsBatchUpdateRequest: { + UpdateContentItem: { /** - * Changes - * @description The changes that should be applied to the notifications. Only the fields that are set will be changed. + * Content Type + * @description The type of this item. */ - changes: components["schemas"]["UserNotificationUpdateRequest"]; + history_content_type: components["schemas"]["HistoryContentType"]; /** - * Notification IDs - * @description The list of encoded notification IDs of the notifications that should be updated. + * Id + * @example 0123456789ABCDEF */ - notification_ids: string[]; - }; - /** UserObjectstoreUsage */ - UserObjectstoreUsage: { - /** Object Store Id */ - object_store_id: string; - /** Total Disk Usage */ - total_disk_usage: number; + id: string; + } & { + [key: string]: unknown; }; - /** UserQuota */ - UserQuota: { + /** UpdateCreatorAction */ + UpdateCreatorAction: { /** - * Model class - * @description The name of the database model class. - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ - model_class: "UserQuotaAssociation"; - /** - * User - * @description Information about a user associated with a quota. - */ - user: components["schemas"]["UserModel"]; - }; - /** UserQuotaUsage */ - UserQuotaUsage: { - /** Quota */ - quota?: string | null; - /** Quota Bytes */ - quota_bytes?: number | null; - /** Quota Percent */ - quota_percent?: number | null; - /** Quota Source Label */ - quota_source_label?: string | null; - /** Total Disk Usage */ - total_disk_usage: number; - }; - /** ValidationError */ - ValidationError: { - /** Location */ - loc: (string | number)[]; - /** Message */ - msg: string; - /** Error Type */ - type: string; + action_type: "update_creator"; + /** Creator */ + creator?: unknown; }; - /** Visualization */ - Visualization: Record; - /** VisualizationSummary */ - VisualizationSummary: { - /** - * Annotation - * @description The annotation of this Visualization. - */ - annotation?: string | null; - /** - * Create Time - * @description The time and date this item was created. - */ - create_time: string | null; + /** UpdateDatasetPermissionsPayload */ + UpdateDatasetPermissionsPayload: { + /** Access Ids[] */ + "access_ids[]"?: string[] | string | null; /** - * DbKey - * @description The database key of the visualization. + * Action + * @description Indicates what action should be performed on the dataset. + * @default set_permissions */ - dbkey?: string | null; + action: components["schemas"]["DatasetPermissionAction"] | null; + /** Manage Ids[] */ + "manage_ids[]"?: string[] | string | null; + /** Modify Ids[] */ + "modify_ids[]"?: string[] | string | null; + }; + /** UpdateDatasetPermissionsPayloadAliasB */ + UpdateDatasetPermissionsPayloadAliasB: { /** - * Deleted - * @description Whether this Visualization has been deleted. + * Access IDs + * @description A list of role encoded IDs defining roles that should have access permission on the dataset. */ - deleted: boolean; + access?: string[] | string | null; /** - * ID - * @description Encoded ID of the Visualization. - * @example 0123456789ABCDEF + * Action + * @description Indicates what action should be performed on the dataset. + * @default set_permissions */ - id: string; + action: components["schemas"]["DatasetPermissionAction"] | null; /** - * Importable - * @description Whether this Visualization can be imported. + * Manage IDs + * @description A list of role encoded IDs defining roles that should have manage permission on the dataset. */ - importable: boolean; + manage?: string[] | string | null; /** - * Published - * @description Whether this Visualization has been published. + * Modify IDs + * @description A list of role encoded IDs defining roles that should have modify permission on the dataset. */ - published: boolean; + modify?: string[] | string | null; + }; + /** UpdateDatasetPermissionsPayloadAliasC */ + UpdateDatasetPermissionsPayloadAliasC: { /** - * Tags - * @description A list of tags to add to this item. + * Access IDs + * @description A list of role encoded IDs defining roles that should have access permission on the dataset. */ - tags: components["schemas"]["TagCollection"] | null; + access_ids?: string[] | string | null; /** - * Title - * @description The name of the visualization. + * Action + * @description Indicates what action should be performed on the dataset. + * @default set_permissions */ - title: string; + action: components["schemas"]["DatasetPermissionAction"] | null; /** - * Type - * @description The type of the visualization. + * Manage IDs + * @description A list of role encoded IDs defining roles that should have manage permission on the dataset. */ - type: string; + manage_ids?: string[] | string | null; /** - * Update Time - * @description The last time and date this item was updated. + * Modify IDs + * @description A list of role encoded IDs defining roles that should have modify permission on the dataset. */ - update_time: string | null; + modify_ids?: string[] | string | null; + }; + /** + * UpdateHistoryContentsBatchPayload + * @description Contains property values that will be updated for all the history `items` provided. + * @example { + * "items": [ + * { + * "history_content_type": "dataset", + * "id": "string" + * } + * ], + * "visible": false + * } + */ + UpdateHistoryContentsBatchPayload: { /** - * Username - * @description The name of the user owning this Visualization. + * Items + * @description A list of content items to update with the changes. */ - username: string; - [key: string]: unknown | undefined; + items: components["schemas"]["UpdateContentItem"][]; + } & { + [key: string]: unknown; }; /** - * VisualizationSummaryList - * @default [] + * UpdateHistoryContentsPayload + * @description Can contain arbitrary/dynamic fields that will be updated for a particular history item. + * @example { + * "annotation": "Test", + * "visible": false + * } */ - VisualizationSummaryList: components["schemas"]["VisualizationSummary"][]; - /** WorkflowInput */ - WorkflowInput: { + UpdateHistoryContentsPayload: { /** - * Label - * @description Label of the input. + * Annotation + * @description A user-defined annotation for this item. */ - label: string | null; + annotation?: string | null; /** - * UUID - * @description Universal unique identifier of the input. + * Deleted + * @description Whether this item is marked as deleted. */ - uuid: string | null; + deleted?: boolean | null; /** - * Value - * @description TODO + * Name + * @description The new name of the item. */ - value: Record | null; - }; - /** WorkflowInvocationCollectionView */ - WorkflowInvocationCollectionView: { + name?: string | null; /** - * Create Time - * Format: date-time - * @description The time and date this item was created. + * Tags + * @description A list of tags to add to this item. */ - create_time: string; + tags?: components["schemas"]["TagCollection"] | null; /** - * History ID - * @description The encoded ID of the history associated with the invocation. - * @example 0123456789ABCDEF + * Visible + * @description Whether this item is visible in the history. */ - history_id: string; + visible?: boolean | null; + } & { + [key: string]: unknown; + }; + /** UpdateHistoryPayload */ + UpdateHistoryPayload: { + /** Annotation */ + annotation?: string | null; + /** Deleted */ + deleted?: boolean | null; + /** Genome Build */ + genome_build?: string | null; + /** Importable */ + importable?: boolean | null; + /** Name */ + name?: string | null; + /** Preferred Object Store Id */ + preferred_object_store_id?: string | null; + /** Published */ + published?: boolean | null; + /** Purged */ + purged?: boolean | null; + tags?: components["schemas"]["TagCollection"] | null; + }; + /** UpdateInstancePayload */ + UpdateInstancePayload: { + /** Active */ + active?: boolean | null; + /** Description */ + description?: string | null; + /** Hidden */ + hidden?: boolean | null; + /** Name */ + name?: string | null; + /** Variables */ + variables?: { + [key: string]: string | boolean | number; + } | null; + }; + /** UpdateInstanceSecretPayload */ + UpdateInstanceSecretPayload: { + /** Secret Name */ + secret_name: string; + /** Secret Value */ + secret_value: string; + }; + /** UpdateLibraryFolderPayload */ + UpdateLibraryFolderPayload: { /** - * ID - * @description The encoded ID of the workflow invocation. - * @example 0123456789ABCDEF + * Description + * @description The new description of the library folder. */ - id: string; + description?: string | null; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Name + * @description The new name of the library folder. */ - model_class: "WorkflowInvocation"; + name?: string | null; + }; + /** UpdateLibraryPayload */ + UpdateLibraryPayload: { /** - * Invocation state - * @description State of workflow invocation. + * Description + * @description A detailed description of the Library. Leave unset to keep the existing. */ - state: components["schemas"]["InvocationState"]; + description?: string | null; /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * Name + * @description The new name of the Library. Leave unset to keep the existing. */ - update_time: string; + name?: string | null; /** - * UUID - * @description Universal unique identifier of the workflow invocation. + * Synopsis + * @description A short text describing the contents of the Library. Leave unset to keep the existing. */ - uuid?: string | string | null; + synopsis?: string | null; + }; + /** UpdateLicenseAction */ + UpdateLicenseAction: { /** - * Workflow ID - * @description The encoded Workflow ID associated with the invocation. - * @example 0123456789ABCDEF + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - workflow_id: string; + action_type: "update_license"; + /** License */ + license: string; }; - /** WorkflowInvocationElementView */ - WorkflowInvocationElementView: { - /** - * Create Time - * Format: date-time - * @description The time and date this item was created. - */ - create_time: string; + /** UpdateNameAction */ + UpdateNameAction: { /** - * History ID - * @description The encoded ID of the history associated with the invocation. - * @example 0123456789ABCDEF + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - history_id: string; + action_type: "update_name"; + /** Name */ + name: string; + }; + /** UpdateObjectStoreIdPayload */ + UpdateObjectStoreIdPayload: { /** - * ID - * @description The encoded ID of the workflow invocation. - * @example 0123456789ABCDEF + * Object Store Id + * @description Object store ID to update to, it must be an object store with the same device ID as the target dataset currently. */ - id: string; + object_store_id: string; + }; + /** UpdateOutputLabelAction */ + UpdateOutputLabelAction: { /** - * Input step parameters - * @description Input step parameters of the workflow invocation. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - input_step_parameters: { - [key: string]: components["schemas"]["InvocationInputParameter"] | undefined; - }; + action_type: "update_output_label"; + /** Output */ + output: + | components["schemas"]["OutputReferenceByOrderIndex"] + | components["schemas"]["OutputReferenceByLabel"]; + /** Output Label */ + output_label: string; + }; + /** UpdateQuotaParams */ + UpdateQuotaParams: { /** - * Inputs - * @description Input datasets/dataset collections of the workflow invocation. + * Amount + * @description Quota size (E.g. ``10000MB``, ``99 gb``, ``0.2T``, ``unlimited``) */ - inputs: { - [key: string]: components["schemas"]["InvocationInput"] | undefined; - }; + amount?: string | null; /** - * Messages - * @description A list of messages about why the invocation did not succeed. + * Default + * @description Whether or not this is a default quota. Valid values are ``no``, ``unregistered``, ``registered``. Calling this method with ``default="no"`` on a non-default quota will throw an error. Not passing this parameter is equivalent to passing ``no``. */ - messages: ( - | components["schemas"]["InvocationCancellationReviewFailedResponse"] - | components["schemas"]["InvocationCancellationHistoryDeletedResponse"] - | components["schemas"]["InvocationCancellationUserRequestResponse"] - | components["schemas"]["InvocationFailureDatasetFailedResponse"] - | components["schemas"]["InvocationFailureCollectionFailedResponse"] - | components["schemas"]["InvocationFailureJobFailedResponse"] - | components["schemas"]["InvocationFailureOutputNotFoundResponse"] - | components["schemas"]["InvocationFailureExpressionEvaluationFailedResponse"] - | components["schemas"]["InvocationFailureWhenNotBooleanResponse"] - | components["schemas"]["InvocationUnexpectedFailureResponse"] - | components["schemas"]["InvocationEvaluationWarningWorkflowOutputNotFoundResponse"] - )[]; + default?: components["schemas"]["DefaultQuotaValues"] | null; /** - * Model class - * @description The name of the database model class. - * @constant - * @enum {string} + * Description + * @description Detailed text description for this Quota. */ - model_class: "WorkflowInvocation"; + description?: string | null; /** - * Output collections - * @description Output dataset collections of the workflow invocation. + * Groups + * @description A list of group IDs or names to associate with this quota. */ - output_collections: { - [key: string]: components["schemas"]["InvocationOutputCollection"] | undefined; - }; + in_groups?: string[] | null; /** - * Output values - * @description Output values of the workflow invocation. + * Users + * @description A list of user IDs or user emails to associate with this quota. */ - output_values: Record; + in_users?: string[] | null; /** - * Outputs - * @description Output datasets of the workflow invocation. + * Name + * @description The new name of the quota. This must be unique within a Galaxy instance. */ - outputs: { - [key: string]: components["schemas"]["InvocationOutput"] | undefined; - }; + name?: string | null; /** - * Invocation state - * @description State of workflow invocation. + * Operation + * @description One of (``+``, ``-``, ``=``). If you wish to change this value, you must also provide the ``amount``, otherwise it will not take effect. + * @default = */ - state: components["schemas"]["InvocationState"]; + operation: components["schemas"]["QuotaOperation"]; + }; + /** UpdateReportAction */ + UpdateReportAction: { /** - * Steps - * @description Steps of the workflow invocation. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - steps: components["schemas"]["InvocationStep"][]; + action_type: "update_report"; + report: components["schemas"]["Report"]; + }; + /** UpdateStepLabelAction */ + UpdateStepLabelAction: { /** - * Update Time - * Format: date-time - * @description The last time and date this item was updated. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - update_time: string; + action_type: "update_step_label"; /** - * UUID - * @description Universal unique identifier of the workflow invocation. + * Label + * @description The unique label of the step being referenced. */ - uuid?: string | string | null; + label: string; /** - * Workflow ID - * @description The encoded Workflow ID associated with the invocation. - * @example 0123456789ABCDEF + * Step + * @description The target step for this action. */ - workflow_id: string; + step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; }; - /** WorkflowInvocationResponse */ - WorkflowInvocationResponse: - | components["schemas"]["WorkflowInvocationElementView"] - | components["schemas"]["WorkflowInvocationCollectionView"]; - /** WorkflowInvocationStateSummary */ - WorkflowInvocationStateSummary: { - /** - * Id - * @example 0123456789ABCDEF - */ - id: string; + /** UpdateStepPositionAction */ + UpdateStepPositionAction: { /** - * Model class - * @description The name of the database model class. - * @constant + * @description discriminator enum property added by openapi-typescript * @enum {string} */ - model: "WorkflowInvocation"; + action_type: "update_step_position"; + position_shift: components["schemas"]["Position"]; /** - * Populated State - * @description Indicates the general state of the elements in the dataset collection:- 'new': new dataset collection, unpopulated elements.- 'ok': collection elements populated (HDAs may or may not have errors).- 'failed': some problem populating, won't be populated. + * Step + * @description The target step for this action. */ - populated_state: components["schemas"]["DatasetCollectionPopulatedState"]; + step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; + }; + /** + * UpdateUserNotificationPreferencesRequest + * @description Contains the new notification preferences of a user. + */ + UpdateUserNotificationPreferencesRequest: { /** - * States - * @description A dictionary of job states and the number of jobs in that state. - * @default {} + * Preferences + * @description The new notification preferences of the user. */ - states?: { - [key: string]: number | undefined; + preferences: { + [key: string]: components["schemas"]["NotificationCategorySettings"]; }; }; - /** WriteInvocationStoreToPayload */ - WriteInvocationStoreToPayload: { + /** UpgradeAllStepsAction */ + UpgradeAllStepsAction: { /** - * Bco Merge History Metadata - * @description When reading tags/annotations to generate BCO object include history metadata. - * @default false + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - bco_merge_history_metadata?: boolean; + action_type: "upgrade_all_steps"; + }; + /** UpgradeInstancePayload */ + UpgradeInstancePayload: { + /** Secrets */ + secrets: { + [key: string]: string; + }; + /** Template Version */ + template_version: number; + /** Variables */ + variables: { + [key: string]: string | boolean | number; + }; + }; + /** UpgradeSubworkflowAction */ + UpgradeSubworkflowAction: { /** - * Bco Override Algorithmic Error - * @description Override algorithmic error for 'error domain' when generating BioCompute object. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - bco_override_algorithmic_error?: { - [key: string]: string | undefined; - } | null; + action_type: "upgrade_subworkflow"; + /** Content Id */ + content_id?: string | null; /** - * Bco Override Empirical Error - * @description Override empirical error for 'error domain' when generating BioCompute object. + * Step + * @description The target step for this action. */ - bco_override_empirical_error?: { - [key: string]: string | undefined; - } | null; + step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; + }; + /** UpgradeToolAction */ + UpgradeToolAction: { /** - * Bco Override Environment Variables - * @description Override environment variables for 'execution_domain' when generating BioCompute object. + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - bco_override_environment_variables?: { - [key: string]: string | undefined; - } | null; + action_type: "upgrade_tool"; /** - * Bco Override Xref - * @description Override xref for 'description domain' when generating BioCompute object. + * Step + * @description The target step for this action. */ - bco_override_xref?: components["schemas"]["XrefItem"][] | null; + step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; + /** Tool Version */ + tool_version?: string | null; + }; + /** + * UploadOption + * @enum {string} + */ + UploadOption: "upload_file" | "upload_paths" | "upload_directory"; + /** UrlDataElement */ + UrlDataElement: { + /** Md5 */ + MD5?: string | null; + /** Sha-1 */ + "SHA-1"?: string | null; + /** Sha-256 */ + "SHA-256"?: string | null; + /** Sha-512 */ + "SHA-512"?: string | null; /** - * Include deleted - * @description Include file contents for deleted datasets (if include_files is True). + * Auto Decompress + * @description Decompress compressed data before sniffing? * @default false */ - include_deleted?: boolean; + auto_decompress: boolean; + /** Collection Type */ + collection_type?: string | null; + /** Created From Basename */ + created_from_basename?: string | null; /** - * Include Files - * @description include materialized files in export when available - * @default true + * Dbkey + * @default ? */ - include_files?: boolean; + dbkey: string; /** - * Include hidden - * @description Include file contents for hidden datasets (if include_files is True). + * Deferred * @default false */ - include_hidden?: boolean; + deferred: boolean; + /** Description */ + description?: string | null; + elements_from?: components["schemas"]["ElementsFromType"] | null; /** - * @description format of model store to export - * @default tar.gz + * Ext + * @default auto */ - model_store_format?: components["schemas"]["ModelStoreFormat"]; - /** - * Target URI - * @description Galaxy Files URI to write mode store content to. - */ - target_uri: string; - }; - /** WriteStoreToPayload */ - WriteStoreToPayload: { + ext: string; + extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["FetchDatasetHash"][] | null; + /** Info */ + info?: string | null; + /** Name */ + name?: string | number | boolean | null; /** - * Include deleted - * @description Include file contents for deleted datasets (if include_files is True). + * Space To Tab * @default false */ - include_deleted?: boolean; + space_to_tab: boolean; /** - * Include Files - * @description include materialized files in export when available - * @default true + * @description discriminator enum property added by openapi-typescript + * @enum {string} */ - include_files?: boolean; + src: "url"; + /** Tags */ + tags?: string[] | null; /** - * Include hidden - * @description Include file contents for hidden datasets (if include_files is True). + * To Posix Lines * @default false */ - include_hidden?: boolean; + to_posix_lines: boolean; /** - * @description format of model store to export - * @default tar.gz + * Url + * @description URL to upload */ - model_store_format?: components["schemas"]["ModelStoreFormat"]; + url: string; + }; + /** UserBeaconSetting */ + UserBeaconSetting: { /** - * Target URI - * @description Galaxy Files URI to write mode store content to. + * Enabled + * @description True if beacon sharing is enabled */ - target_uri: string; + enabled: boolean; }; - /** XrefItem */ - XrefItem: { + /** UserConcreteObjectStoreModel */ + UserConcreteObjectStoreModel: { + /** Active */ + active: boolean; + /** Badges */ + badges: components["schemas"]["BadgeDict"][]; + /** Description */ + description?: string | null; + /** Device */ + device?: string | null; + /** Hidden */ + hidden: boolean; + /** Name */ + name?: string | null; + /** Object Store Id */ + object_store_id?: string | null; + /** Private */ + private: boolean; + /** Purged */ + purged: boolean; + quota: components["schemas"]["QuotaModel"]; + /** Secrets */ + secrets: string[]; + /** Template Id */ + template_id: string; + /** Template Version */ + template_version: number; /** - * Access Time - * Format: date-time - * @description Date and time the external reference was accessed + * Type + * @enum {string} */ - access_time: string; + type: "aws_s3" | "azure_blob" | "boto3" | "disk" | "generic_s3" | "onedata"; /** - * Ids - * @description List of reference identifiers + * Uuid + * Format: uuid4 */ - ids: string[]; + uuid: string; + /** Variables */ + variables: { + [key: string]: string | boolean | number; + } | null; + }; + /** UserCreationPayload */ + UserCreationPayload: { /** - * Name - * @description Name of external reference + * Email + * @description Email of the user */ - name: string; + email: string; /** - * Namespace - * @description External resource vendor prefix + * user_password + * @description The password of the user. */ - namespace: string; + password: string; + /** + * user_name + * @description The name of the user. + */ + username: string; }; - /** Organization */ - galaxy__schema__drs__Organization: { + /** UserDeletionPayload */ + UserDeletionPayload: { /** - * Name - * @description Name of the organization responsible for the service + * Purge user + * @deprecated + * @description Purge the user. Deprecated, please use the `purge` query parameter instead. + * @default false + */ + purge: boolean; + }; + /** UserEmail */ + UserEmail: { + /** + * Email + * @description The email of the user. + */ + email: string; + /** + * User ID + * @description The encoded ID of the user. + * @example 0123456789ABCDEF */ + id: string; + }; + /** UserFileSourceModel */ + UserFileSourceModel: { + /** Active */ + active: boolean; + /** Description */ + description: string | null; + /** Hidden */ + hidden: boolean; + /** Name */ name: string; + /** Purged */ + purged: boolean; + /** Secrets */ + secrets: string[]; + /** Template Id */ + template_id: string; + /** Template Version */ + template_version: number; /** - * Url - * Format: uri - * @description URL of the website of the organization (RFC 3986 format) + * Type + * @enum {string} */ - url: string; + type: "ftp" | "posix" | "s3fs" | "azure" | "onedata" | "webdav" | "dropbox" | "googledrive"; + /** Uri Root */ + uri_root: string; + /** + * Uuid + * Format: uuid4 + */ + uuid: string; + /** Variables */ + variables: { + [key: string]: string | boolean | number; + } | null; + }; + /** + * UserModel + * @description User in a transaction context. + */ + UserModel: { + /** + * Active + * @description User is active + */ + active: boolean; + /** + * Deleted + * @description User is deleted + */ + deleted: boolean; + /** + * Email + * @description Email of the user + */ + email: string; + /** + * ID + * @description Encoded ID of the user + * @example 0123456789ABCDEF + */ + id: string; + /** Last password change */ + last_password_change: string | null; + /** + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} + */ + model_class: "User"; + /** + * user_name + * @description The name of the user. + */ + username: string; + }; + /** + * UserNotificationListResponse + * @description A list of user notifications. + */ + UserNotificationListResponse: components["schemas"]["UserNotificationResponse"][]; + /** + * UserNotificationPreferences + * @description Contains the full notification preferences of a user. + */ + UserNotificationPreferences: { + /** + * Preferences + * @description The notification preferences of the user. + */ + preferences: { + [key: string]: components["schemas"]["NotificationCategorySettings"]; + }; + }; + /** + * UserNotificationResponse + * @description A notification response specific to the user. + */ + UserNotificationResponse: { + /** + * Category + * @description The category of the notification. Represents the type of the notification. E.g. 'message' or 'new_shared_item'. + */ + category: components["schemas"]["PersonalNotificationCategory"]; + /** + * Content + * @description The content of the notification. The structure depends on the category. + */ + content: + | components["schemas"]["MessageNotificationContent"] + | components["schemas"]["NewSharedItemNotificationContent"]; + /** + * Create time + * Format: date-time + * @description The time when the notification was created. + */ + create_time: string; + /** + * Deleted + * @description Whether the notification is marked as deleted by the user. Deleted notifications don't show up in the notification list. + */ + deleted: boolean; + /** + * Expiration time + * @description The time when the notification will expire. If not set, the notification will never expire. Expired notifications will be permanently deleted. + */ + expiration_time?: string | null; + /** + * ID + * @description The encoded ID of the notification. + * @example 0123456789ABCDEF + */ + id: string; + /** + * Publication time + * Format: date-time + * @description The time when the notification was published. Notifications can be created and then published at a later time. + */ + publication_time: string; + /** + * Seen time + * @description The time when the notification was seen by the user. If not set, the notification was not seen yet. + */ + seen_time?: string | null; + /** + * Source + * @description The source of the notification. Represents the agent that created the notification. E.g. 'galaxy' or 'admin'. + */ + source: string; + /** + * Update time + * Format: date-time + * @description The time when the notification was last updated. + */ + update_time: string; + /** + * Variant + * @description The variant of the notification. Represents the intent or relevance of the notification. E.g. 'info' or 'urgent'. + */ + variant: components["schemas"]["NotificationVariant"]; + }; + /** + * UserNotificationUpdateRequest + * @description A notification update request specific to the user. + */ + UserNotificationUpdateRequest: { + /** + * Deleted + * @description Whether the notification should be marked as deleted by the user. If not set, the notification will not be changed. + */ + deleted?: boolean | null; + /** + * Seen + * @description Whether the notification should be marked as seen by the user. If not set, the notification will not be changed. + */ + seen?: boolean | null; + }; + /** + * UserNotificationsBatchUpdateRequest + * @description A batch update request specific for user notifications. + */ + UserNotificationsBatchUpdateRequest: { + /** + * Changes + * @description The changes that should be applied to the notifications. Only the fields that are set will be changed. + */ + changes: components["schemas"]["UserNotificationUpdateRequest"]; + /** + * Notification IDs + * @description The list of encoded notification IDs of the notifications that should be updated. + */ + notification_ids: string[]; + }; + /** UserObjectstoreUsage */ + UserObjectstoreUsage: { + /** Object Store Id */ + object_store_id: string; + /** Total Disk Usage */ + total_disk_usage: number; + }; + /** UserQuota */ + UserQuota: { + /** + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} + */ + model_class: "UserQuotaAssociation"; + /** + * User + * @description Information about a user associated with a quota. + */ + user: components["schemas"]["UserModel"]; + }; + /** UserQuotaUsage */ + UserQuotaUsage: { + /** Quota */ + quota?: string | null; + /** Quota Bytes */ + quota_bytes?: number | null; + /** Quota Percent */ + quota_percent?: number | null; + /** Quota Source Label */ + quota_source_label?: string | null; + /** Total Disk Usage */ + total_disk_usage: number; + }; + /** UserUpdatePayload */ + UserUpdatePayload: { + /** + * Active + * @description User is active + */ + active?: boolean | null; + /** + * Preferred Object Store ID + * @description The ID of the object store that should be used to store new datasets in this history. + */ + preferred_object_store_id?: string | null; + /** + * Username + * @description The name of the user. + */ + username?: string | null; + }; + /** Visualization */ + Visualization: Record; + /** VisualizationCreatePayload */ + VisualizationCreatePayload: { + /** + * Annotation + * @description The annotation of the visualization. + */ + annotation?: string | null; + /** + * Config + * @description The config of the visualization. + * @default {} + */ + config: Record | null; + /** + * DbKey + * @description The database key of the visualization. + */ + dbkey?: string | null; + /** + * Slug + * @description The slug of the visualization. + */ + slug?: string | null; + /** + * Title + * @description The name of the visualization. + * @default Untitled Visualization + */ + title: string | null; + /** + * Type + * @description The type of the visualization. + */ + type: string; + }; + /** VisualizationCreateResponse */ + VisualizationCreateResponse: { + /** + * ID + * @description Encoded ID of the Visualization. + * @example 0123456789ABCDEF + */ + id: string; + }; + /** VisualizationPluginResponse */ + VisualizationPluginResponse: { + /** + * Description + * @description The description of the plugin. + */ + description: string; + /** + * Embeddable + * @description Whether the plugin is embeddable. + */ + embeddable: boolean; + /** + * Entry Point + * @description The entry point of the plugin. + */ + entry_point: Record; + /** + * Groups + * @description The groups of the plugin. + */ + groups?: Record[] | null; + /** + * Href + * @description The href of the plugin. + */ + href: string; + /** + * HTML + * @description The HTML of the plugin. + */ + html: string; + /** + * Logo + * @description The logo of the plugin. + */ + logo?: string | null; + /** + * Name + * @description The name of the plugin. + */ + name: string; + /** + * Settings + * @description The settings of the plugin. + */ + settings: Record[]; + /** + * Specs + * @description The specs of the plugin. + */ + specs?: Record | null; + /** + * Target + * @description The target of the plugin. + */ + target: string; + /** + * Title + * @description The title of the plugin. + */ + title?: string | null; + }; + /** VisualizationRevisionResponse */ + VisualizationRevisionResponse: { + /** + * Config + * @description The config of the visualization revision. + */ + config: Record; + /** + * DbKey + * @description The database key of the visualization. + */ + dbkey?: string | null; + /** + * ID + * @description Encoded ID of the Visualization Revision. + * @example 0123456789ABCDEF + */ + id: string; + /** + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} + */ + model_class: "VisualizationRevision"; + /** + * Title + * @description The name of the visualization revision. + */ + title: string; + /** + * Visualization ID + * @description Encoded ID of the Visualization. + * @example 0123456789ABCDEF + */ + visualization_id: string; + }; + /** VisualizationShowResponse */ + VisualizationShowResponse: { + /** + * Annotation + * @description The annotation of this Visualization. + */ + annotation?: string | null; + /** + * DbKey + * @description The database key of the visualization. + */ + dbkey?: string | null; + /** + * Email Hash + * @description The hash of the email of the user owning this Visualization. + */ + email_hash: string; + /** + * ID + * @description Encoded ID of the Visualization. + * @example 0123456789ABCDEF + */ + id: string; + /** + * Latest Revision + * @description The latest revision of this Visualization. + */ + latest_revision: components["schemas"]["VisualizationRevisionResponse"]; + /** + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} + */ + model_class: "Visualization"; + /** + * Plugin + * @description The plugin of this Visualization. + */ + plugin?: components["schemas"]["VisualizationPluginResponse"] | null; + /** + * Revisions + * @description A list of encoded IDs of the revisions of this Visualization. + */ + revisions: string[]; + /** + * Slug + * @description The slug of the visualization. + */ + slug?: string | null; + /** + * Tags + * @description A list of tags to add to this item. + */ + tags?: components["schemas"]["TagCollection"] | null; + /** + * Title + * @description The name of the visualization. + */ + title: string; + /** + * Type + * @description The type of the visualization. + */ + type: string; + /** + * URL + * @description The URL of the visualization. + */ + url: string; + /** + * User ID + * @description The ID of the user owning this Visualization. + * @example 0123456789ABCDEF + */ + user_id: string; + /** + * Username + * @description The name of the user owning this Visualization. + */ + username: string; + }; + /** VisualizationSummary */ + VisualizationSummary: { + /** + * Annotation + * @description The annotation of this Visualization. + */ + annotation?: string | null; + /** + * Create Time + * @description The time and date this item was created. + */ + create_time: string | null; + /** + * DbKey + * @description The database key of the visualization. + */ + dbkey?: string | null; + /** + * Deleted + * @description Whether this Visualization has been deleted. + */ + deleted: boolean; + /** + * ID + * @description Encoded ID of the Visualization. + * @example 0123456789ABCDEF + */ + id: string; + /** + * Importable + * @description Whether this Visualization can be imported. + */ + importable: boolean; + /** + * Published + * @description Whether this Visualization has been published. + */ + published: boolean; + /** + * Tags + * @description A list of tags to add to this item. + */ + tags: components["schemas"]["TagCollection"] | null; + /** + * Title + * @description The name of the visualization. + */ + title: string; + /** + * Type + * @description The type of the visualization. + */ + type: string; + /** + * Update Time + * @description The last time and date this item was updated. + */ + update_time: string | null; + /** + * Username + * @description The name of the user owning this Visualization. + */ + username: string; + } & { + [key: string]: unknown; + }; + /** + * VisualizationSummaryList + * @default [] + */ + VisualizationSummaryList: components["schemas"]["VisualizationSummary"][]; + /** VisualizationUpdatePayload */ + VisualizationUpdatePayload: { + /** + * Config + * @description The config of the visualization. + * @default {} + */ + config: Record | string | null; + /** + * DbKey + * @description The database key of the visualization. + */ + dbkey?: string | null; + /** + * Deleted + * @description Whether this Visualization has been deleted. + * @default false + */ + deleted: boolean | null; + /** + * Title + * @description The name of the visualization. + */ + title?: string | null; + }; + /** VisualizationUpdateResponse */ + VisualizationUpdateResponse: { + /** + * ID + * @description Encoded ID of the Visualization. + * @example 0123456789ABCDEF + */ + id: string; + /** + * Revision + * @description Encoded ID of the Visualization Revision. + * @example 0123456789ABCDEF + */ + revision: string; + }; + /** WorkflowInput */ + WorkflowInput: { + /** + * Label + * @description Label of the input. + */ + label: string | null; + /** + * UUID + * @description Universal unique identifier of the input. + */ + uuid: string | null; + /** + * Value + * @description TODO + */ + value: unknown | null; + }; + /** WorkflowInvocationCollectionView */ + WorkflowInvocationCollectionView: { + /** + * Create Time + * Format: date-time + * @description The time and date this item was created. + */ + create_time: string; + /** + * History ID + * @description The encoded ID of the history associated with the invocation. + * @example 0123456789ABCDEF + */ + history_id: string; + /** + * ID + * @description The encoded ID of the workflow invocation. + * @example 0123456789ABCDEF + */ + id: string; + /** + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} + */ + model_class: "WorkflowInvocation"; + /** + * Invocation state + * @description State of workflow invocation. + */ + state: components["schemas"]["InvocationState"]; + /** + * Update Time + * Format: date-time + * @description The last time and date this item was updated. + */ + update_time: string; + /** + * UUID + * @description Universal unique identifier of the workflow invocation. + */ + uuid?: string | null; + /** + * Workflow ID + * @description The encoded Workflow ID associated with the invocation. + * @example 0123456789ABCDEF + */ + workflow_id: string; + }; + /** WorkflowInvocationElementView */ + WorkflowInvocationElementView: { + /** + * Create Time + * Format: date-time + * @description The time and date this item was created. + */ + create_time: string; + /** + * History ID + * @description The encoded ID of the history associated with the invocation. + * @example 0123456789ABCDEF + */ + history_id: string; + /** + * ID + * @description The encoded ID of the workflow invocation. + * @example 0123456789ABCDEF + */ + id: string; + /** + * Input step parameters + * @description Input step parameters of the workflow invocation. + */ + input_step_parameters: { + [key: string]: components["schemas"]["InvocationInputParameter"]; + }; + /** + * Inputs + * @description Input datasets/dataset collections of the workflow invocation. + */ + inputs: { + [key: string]: components["schemas"]["InvocationInput"]; + }; + /** + * Messages + * @description A list of messages about why the invocation did not succeed. + */ + messages: components["schemas"]["InvocationMessageResponseUnion"][]; + /** + * Model class + * @description The name of the database model class. + * @constant + * @enum {string} + */ + model_class: "WorkflowInvocation"; + /** + * Output collections + * @description Output dataset collections of the workflow invocation. + */ + output_collections: { + [key: string]: components["schemas"]["InvocationOutputCollection"]; + }; + /** + * Output values + * @description Output values of the workflow invocation. + */ + output_values: Record; + /** + * Outputs + * @description Output datasets of the workflow invocation. + */ + outputs: { + [key: string]: components["schemas"]["InvocationOutput"]; + }; + /** + * Invocation state + * @description State of workflow invocation. + */ + state: components["schemas"]["InvocationState"]; + /** + * Steps + * @description Steps of the workflow invocation. + */ + steps: components["schemas"]["InvocationStep"][]; + /** + * Update Time + * Format: date-time + * @description The last time and date this item was updated. + */ + update_time: string; + /** + * UUID + * @description Universal unique identifier of the workflow invocation. + */ + uuid?: string | null; + /** + * Workflow ID + * @description The encoded Workflow ID associated with the invocation. + * @example 0123456789ABCDEF + */ + workflow_id: string; + }; + /** + * WorkflowInvocationRequestModel + * @description Model a workflow invocation request (InvokeWorkflowPayload) for an existing invocation. + */ + WorkflowInvocationRequestModel: { + /** + * History ID + * @description The encoded history id the workflow was run in. + */ + history_id: string; + /** + * Inputs + * @description Values for inputs + */ + inputs: Record; + /** + * Inputs by + * @description How the 'inputs' field maps its inputs (datasets/collections/step parameters) to workflows steps. + */ + inputs_by: string; + /** + * Is instance + * @description This API yields a particular workflow instance, newer workflows belonging to the same storedworkflow may have different state. + * @default true + * @constant + * @enum {boolean} + */ + instance: true; + /** + * Legacy Step Parameters + * @description Parameters specified per-step for the workflow invocation, this is legacy and you should generally use inputs and only specify the formal parameters of a workflow instead. If these are set, the workflow was not executed in a best-practice fashion and we the resulting invocation request may not fully reflect the executed workflow state. + */ + parameters?: Record | null; + /** + * Legacy Step Parameters Normalized + * @description Indicates if legacy parameters are already normalized to be indexed by the order_index and are specified as a dictionary per step. Legacy-style parameters could previously be specified as one parameter per step or by tool ID. + * @default true + * @constant + * @enum {boolean} + */ + parameters_normalized: true; + /** + * Preferred Intermediate Object Store ID + * @description The ID of the object store that should be used to store the intermediate datasets of this workflow - - Galaxy's job configuration may override this in some cases but this workflow preference will override tool and user preferences + */ + preferred_intermediate_object_store_id?: string | null; + /** + * Preferred Object Store ID + * @description The ID of the object store that should be used to store all datasets (can instead specify object store IDs for intermediate and outputs datasts separately) - - Galaxy's job configuration may override this in some cases but this workflow preference will override tool and user preferences + */ + preferred_object_store_id?: string | null; + /** + * Preferred Outputs Object Store ID + * @description The ID of the object store that should be used to store the marked output datasets of this workflow - Galaxy's job configuration may override this in some cases but this workflow preference will override tool and user preferences. + */ + preferred_outputs_object_store_id?: string | null; + /** + * Replacement Parameters + * @description Class of parameters mostly used for string replacement in PJAs. In best practice workflows, these should be replaced with input parameters + * @default {} + */ + replacement_params: Record | null; + /** + * Resource Parameters + * @description If a workflow_resource_params_file file is defined and the target workflow is configured to consumer resource parameters, they can be specified with this parameter. See https://github.com/galaxyproject/galaxy/pull/4830 for more information. + * @default {} + */ + resource_params: Record | null; + /** + * Use cached job + * @description Indicated whether to use a cached job for workflow invocation. + * @default false + */ + use_cached_job: boolean; + /** + * Workflow ID + * @description The encoded Workflow ID associated with the invocation. + */ + workflow_id: string; + }; + /** WorkflowInvocationResponse */ + WorkflowInvocationResponse: + | components["schemas"]["WorkflowInvocationElementView"] + | components["schemas"]["WorkflowInvocationCollectionView"]; + /** WorkflowInvocationStateSummary */ + WorkflowInvocationStateSummary: { + /** + * Id + * @example 0123456789ABCDEF + */ + id: string; + /** + * @description The name of the database model class. (enum property replaced by openapi-typescript) + * @enum {string} + */ + model: "WorkflowInvocation"; + /** + * Populated State + * @description Indicates the general state of the elements in the dataset collection:- 'new': new dataset collection, unpopulated elements.- 'ok': collection elements populated (HDAs may or may not have errors).- 'failed': some problem populating, won't be populated. + */ + populated_state: components["schemas"]["DatasetCollectionPopulatedState"]; + /** + * States + * @description A dictionary of job states and the number of jobs in that state. + * @default {} + */ + states: { + [key: string]: number; + }; + }; + /** + * WorkflowJobMetric + * @example { + * "name": "start_epoch", + * "plugin": "core", + * "raw_value": "1614261340.0000000", + * "title": "Job Start Time", + * "value": "2021-02-25 14:55:40" + * } + */ + WorkflowJobMetric: { + /** Job Id */ + job_id: string; + /** + * Name + * @description The name of the metric variable. + */ + name: string; + /** + * Plugin + * @description The instrumenter plugin that generated this metric. + */ + plugin: string; + /** + * Raw Value + * @description The raw value of the metric as a string. + */ + raw_value: string; + /** Step Index */ + step_index: number; + /** Step Label */ + step_label: string | null; + /** + * Title + * @description A descriptive title for this metric. + */ + title: string; + /** Tool Id */ + tool_id: string; + /** + * Value + * @description The textual representation of the metric value. + */ + value: string; + }; + /** WorkflowLandingRequest */ + WorkflowLandingRequest: { + /** Request State */ + request_state: Record; + state: components["schemas"]["LandingRequestState"]; + /** + * UUID + * Format: uuid4 + * @description Universal unique identifier for this dataset. + */ + uuid: string; + /** Workflow Id */ + workflow_id: string; + /** + * Workflow Target Type + * @enum {string} + */ + workflow_target_type: "stored_workflow" | "workflow" | "trs_url"; + }; + /** WriteInvocationStoreToPayload */ + WriteInvocationStoreToPayload: { + /** + * Bco Merge History Metadata + * @description When reading tags/annotations to generate BCO object include history metadata. + * @default false + */ + bco_merge_history_metadata: boolean; + /** + * Bco Override Algorithmic Error + * @description Override algorithmic error for 'error domain' when generating BioCompute object. + */ + bco_override_algorithmic_error?: { + [key: string]: string; + } | null; + /** + * Bco Override Empirical Error + * @description Override empirical error for 'error domain' when generating BioCompute object. + */ + bco_override_empirical_error?: { + [key: string]: string; + } | null; + /** + * Bco Override Environment Variables + * @description Override environment variables for 'execution_domain' when generating BioCompute object. + */ + bco_override_environment_variables?: { + [key: string]: string; + } | null; + /** + * Bco Override Xref + * @description Override xref for 'description domain' when generating BioCompute object. + */ + bco_override_xref?: components["schemas"]["XrefItem"][] | null; + /** + * Include deleted + * @description Include file contents for deleted datasets (if include_files is True). + * @default false + */ + include_deleted: boolean; + /** + * Include Files + * @description include materialized files in export when available + * @default true + */ + include_files: boolean; + /** + * Include hidden + * @description Include file contents for hidden datasets (if include_files is True). + * @default false + */ + include_hidden: boolean; + /** + * @description format of model store to export + * @default tar.gz + */ + model_store_format: components["schemas"]["ModelStoreFormat"]; + /** + * Target URI + * @description Galaxy Files URI to write mode store content to. + */ + target_uri: string; + }; + /** WriteStoreToPayload */ + WriteStoreToPayload: { + /** + * Include deleted + * @description Include file contents for deleted datasets (if include_files is True). + * @default false + */ + include_deleted: boolean; + /** + * Include Files + * @description include materialized files in export when available + * @default true + */ + include_files: boolean; + /** + * Include hidden + * @description Include file contents for hidden datasets (if include_files is True). + * @default false + */ + include_hidden: boolean; + /** + * @description format of model store to export + * @default tar.gz + */ + model_store_format: components["schemas"]["ModelStoreFormat"]; + /** + * Target URI + * @description Galaxy Files URI to write mode store content to. + */ + target_uri: string; + }; + /** XrefItem */ + XrefItem: { + /** + * Access Time + * Format: date-time + * @description Date and time the external reference was accessed + */ + access_time: string; + /** + * Ids + * @description List of reference identifiers + */ + ids: string[]; + /** + * Name + * @description Name of external reference + */ + name: string; + /** + * Namespace + * @description External resource vendor prefix + */ + namespace: string; + }; + /** Organization */ + galaxy__schema__drs__Organization: { + /** + * Name + * @description Name of the organization responsible for the service + */ + name: string; + /** + * Url + * Format: uri + * @description URL of the website of the organization (RFC 3986 format) + */ + url: string; + }; + /** Organization */ + galaxy__schema__schema__Organization: { + /** Address */ + address?: string | null; + /** Alternate Name */ + alternateName?: string | null; + /** + * Class + * @default Organization + */ + class: string; + /** Email */ + email?: string | null; + /** Fax Number */ + faxNumber?: string | null; + /** + * Identifier + * @description Identifier (typically an orcid.org ID) + */ + identifier?: string | null; + /** Image URL */ + image?: string | null; + /** + * Name + * @description The name of the creator. + */ + name?: string | null; + /** Telephone */ + telephone?: string | null; + /** URL */ + url?: string | null; + }; + }; + responses: never; + parameters: never; + requestBodies: never; + headers: never; + pathItems: never; +} +export type $defs = Record; +export interface operations { + get_api_key_api_authenticate_baseauth_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["APIKeyResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + query_api_chat_post: { + parameters: { + query: { + job_id: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ChatPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + feedback_api_chat__job_id__feedback_put: { + parameters: { + query: { + feedback: number; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + job_id: string | null; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": number | null; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + index_api_configuration_get: { + parameters: { + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Object containing exposable configuration settings */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": Record; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + decode_id_api_configuration_decode__encoded_id__get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description Encoded id to be decoded */ + encoded_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Decoded id */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + [key: string]: number; + }; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + dynamic_tool_confs_api_configuration_dynamic_tool_confs_get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Dynamic tool configuration files */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + [key: string]: string; + }[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + encode_id_api_configuration_encode__decoded_id__get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description Decoded id to be encoded */ + decoded_id: number; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Encoded id */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + [key: string]: string; + }; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + tool_lineages_api_configuration_tool_lineages_get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Tool lineages for tools that have them */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + [key: string]: Record; + }[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + reload_toolbox_api_configuration_toolbox_put: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + content_api_dataset_collection_element__dce_id__get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The encoded ID of the dataset collection element. */ + dce_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DCESummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + create_api_dataset_collections_post: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateNewCollectionPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["HDCADetailed"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + contents_dataset_collection_api_dataset_collections__hdca_id__contents__parent_id__get: { + parameters: { + query?: { + /** @description The type of collection instance. Either `history` (default) or `library`. */ + instance_type?: "history" | "library"; + /** @description The maximum number of content elements to return. */ + limit?: number | null; + /** @description The number of content elements that will be skipped before returning. */ + offset?: number | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the `HDCA`. */ + hdca_id: string; + /** @description Parent collection ID describing what collection the contents belongs to. */ + parent_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DatasetCollectionContentElements"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + show_api_dataset_collections__id__get: { + parameters: { + query?: { + /** @description The type of collection instance. Either `history` (default) or `library`. */ + instance_type?: "history" | "library"; + /** @description The view of collection instance to return. */ + view?: string; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the `HDCA`. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + attributes_api_dataset_collections__id__attributes_get: { + parameters: { + query?: { + /** @description The type of collection instance. Either `history` (default) or `library`. */ + instance_type?: "history" | "library"; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the `HDCA`. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DatasetCollectionAttributesResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + copy_api_dataset_collections__id__copy_post: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the `HDCA`. */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateCollectionAttributePayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + dataset_collections__download: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the `HDCA`. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + prepare_collection_download_api_dataset_collections__id__prepare_download_post: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the `HDCA`. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Short term storage reference for async monitoring of this download. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AsyncFile"]; + }; + }; + /** @description Required asynchronous tasks required for this operation not available. */ + 501: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + suitable_converters_api_dataset_collections__id__suitable_converters_get: { + parameters: { + query?: { + /** @description The type of collection instance. Either `history` (default) or `library`. */ + instance_type?: "history" | "library"; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the `HDCA`. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SuitableConverters"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + index_api_datasets_get: { + parameters: { + query?: { + /** @description Optional identifier of a History. Use it to restrict the search within a particular History. */ + history_id?: string | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": ( + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + delete_batch_api_datasets_delete: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["DeleteDatasetBatchPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DeleteDatasetBatchResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + show_api_datasets__dataset_id__get: { + parameters: { + query?: { + /** @description The type of information about the dataset to be requested. */ + hda_ldda?: components["schemas"]["DatasetSourceType"]; + /** @description The type of information about the dataset to be requested. Each of these values may require additional parameters in the request and may return different responses. */ + data_type?: components["schemas"]["RequestDataType"] | null; + /** @description Maximum number of items to return. Currently only applies to `data_type=raw_data` requests */ + limit?: number | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item. Currently only applies to `data_type=raw_data` requests */ + offset?: number | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + datasets__update_dataset: { + parameters: { + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the item (`HDA`/`HDCA`) */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateHistoryContentsPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + datasets__delete: { + parameters: { + query?: { + /** + * @deprecated + * @description Whether to remove from disk the target HDA or child HDAs of the target HDCA. + */ + purge?: boolean | null; + /** + * @deprecated + * @description When deleting a dataset collection, whether to also delete containing datasets. + */ + recursive?: boolean | null; + /** + * @deprecated + * @description Whether to stop the creating job if all outputs of the job have been deleted. + */ + stop_job?: boolean | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the item (`HDA`/`HDCA`) */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["DeleteHistoryContentPayload"]; + }; + }; + responses: { + /** @description Request has been executed. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Request accepted, processing will finish later. */ + 202: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + get_structured_content_api_datasets__dataset_id__content__content_type__get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + content_type: components["schemas"]["DatasetContentType"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + converted_api_datasets__dataset_id__converted_get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ConvertedDatasetsMap"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + converted_ext_api_datasets__dataset_id__converted__ext__get: { + parameters: { + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + /** @description File extension of the new format to convert this dataset to. */ + ext: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + extra_files_api_datasets__dataset_id__extra_files_get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The encoded database identifier of the dataset. */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DatasetExtraFiles"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + get_content_as_text_api_datasets__dataset_id__get_content_as_text_get: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DatasetTextContentDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + compute_hash_api_datasets__dataset_id__hash_put: { + parameters: { + query?: { + /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ + hda_ldda?: components["schemas"]["DatasetSourceType"]; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ComputeDatasetHashPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; }; - /** Organization */ - galaxy__schema__schema__Organization: { - /** Address */ - address?: string | null; - /** Alternate Name */ - alternateName?: string | null; - /** - * Class - * @default Organization - */ - class?: string; - /** Email */ - email?: string | null; - /** Fax Number */ - faxNumber?: string | null; - /** - * Identifier - * @description Identifier (typically an orcid.org ID) - */ - identifier?: string | null; - /** Image URL */ - image?: string | null; - /** - * Name - * @description The name of the creator. - */ - name?: string | null; - /** Telephone */ - telephone?: string | null; - /** URL */ - url?: string | null; + }; + show_inheritance_chain_api_datasets__dataset_id__inheritance_chain_get: { + parameters: { + query?: { + /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ + hda_ldda?: components["schemas"]["DatasetSourceType"]; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DatasetInheritanceChain"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; }; }; - responses: never; - parameters: never; - requestBodies: never; - headers: never; - pathItems: never; -} - -export type external = Record; - -export interface operations { - get_api_key_api_authenticate_baseauth_get: { - /** Returns returns an API key for authenticated user based on BaseAuth headers. */ + get_metrics_api_datasets__dataset_id__metrics_get: { + parameters: { + query?: { + /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ + hda_ldda?: components["schemas"]["DatasetSourceType"]; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the dataset */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["APIKeyResponse"]; + "application/json": (components["schemas"]["JobMetric"] | null)[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_api_cloud_storage_get_post: { - /** - * Gets given objects from a given cloud-based bucket to a Galaxy history. - * @deprecated - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + datasets__update_object_store_id: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CloudObjects"]; + "application/json": components["schemas"]["UpdateObjectStoreIdPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetSummaryList"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - send_api_cloud_storage_send_post: { - /** - * Sends given dataset(s) in a given history to a given cloud-based bucket. - * @deprecated - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + resolve_parameters_display_api_datasets__dataset_id__parameters_display_get: { + parameters: { + query?: { + /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ + hda_ldda?: components["schemas"]["DatasetSourceType"]; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the dataset */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["JobDisplayParametersSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + update_permissions_api_datasets__dataset_id__permissions_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CloudDatasets"]; + "application/json": + | components["schemas"]["UpdateDatasetPermissionsPayload"] + | components["schemas"]["UpdateDatasetPermissionsPayloadAliasB"] + | components["schemas"]["UpdateDatasetPermissionsPayloadAliasC"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DatasetAssociationRoles"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CloudDatasetsResponse"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_configuration_get: { - /** - * Return an object containing exposable configuration settings - * @description Return an object containing exposable configuration settings. - * - * A more complete list is returned if the user is an admin. - * Pass in `view` and a comma-seperated list of keys to control which - * configuration settings are returned. - */ - parameters?: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ + show_storage_api_datasets__dataset_id__storage_get: { + parameters: { query?: { - view?: string | null; - keys?: string | null; + /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ + hda_ldda?: components["schemas"]["DatasetSourceType"]; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + dataset_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DatasetStorageDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + display_api_datasets__history_content_id__display_get: { + parameters: { + query?: { + /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ + preview?: boolean; + /** @description If non-null, get the specified filename from the extra files for this dataset. */ + filename?: string | null; + /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ + to_ext?: string | null; + /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ + raw?: boolean; + /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ + offset?: number | null; + /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ + ck_size?: number | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + history_content_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + display_api_datasets__history_content_id__display_head: { + parameters: { + query?: { + /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ + preview?: boolean; + /** @description If non-null, get the specified filename from the extra files for this dataset. */ + filename?: string | null; + /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ + to_ext?: string | null; + /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ + raw?: boolean; + /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ + offset?: number | null; + /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ + ck_size?: number | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the History Dataset. */ + history_content_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + datasets__get_metadata_file: { + parameters: { + query: { + /** @description The name of the metadata file to retrieve. */ + metadata_file: string; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the History Dataset. */ + history_content_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Object containing exposable configuration settings */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - decode_id_api_configuration_decode__encoded_id__get: { - /** - * Decode a given id - * @description Decode a given id. - */ + get_metadata_file_datasets_api_datasets__history_content_id__metadata_file_head: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query: { + /** @description The name of the metadata file to retrieve. */ + metadata_file: string; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description Encoded id to be decoded */ path: { - encoded_id: string; + /** @description The ID of the History Dataset. */ + history_content_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Decoded id */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": { - [key: string]: number | undefined; - }; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - dynamic_tool_confs_api_configuration_dynamic_tool_confs_get: { - /** - * Return dynamic tool configuration files - * @description Return dynamic tool configuration files. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + index_api_datatypes_get: { + parameters: { + query?: { + /** @description Whether to return only the datatype's extension rather than the datatype's details */ + extension_only?: boolean | null; + /** @description Whether to return only datatypes which can be uploaded */ + upload_only?: boolean | null; }; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Dynamic tool configuration files */ + /** @description List of data types */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": { - [key: string]: string | undefined; - }[]; + "application/json": components["schemas"]["DatatypeDetails"][] | string[]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - encode_id_api_configuration_encode__decoded_id__get: { - /** - * Encode a given id - * @description Decode a given id. - */ + converters_api_datatypes_converters_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description Decoded id to be encoded */ - path: { - decoded_id: number; - }; + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Encoded id */ + /** @description List of all datatype converters */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": { - [key: string]: string | undefined; - }; + "application/json": components["schemas"]["DatatypeConverterList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - tool_lineages_api_configuration_tool_lineages_get: { - /** - * Return tool lineages for tools that have them - * @description Return tool lineages for tools that have them. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; + edam_data_api_datatypes_edam_data_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Tool lineages for tools that have them */ + /** @description Dictionary/map of datatypes and EDAM data */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": { - [key: string]: Record | undefined; - }[]; + [key: string]: string; + }; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - reload_toolbox_api_configuration_toolbox_put: { - /** - * Reload the Galaxy toolbox (but not individual tools) - * @description Reload the Galaxy toolbox (but not individual tools). - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; + edam_data_detailed_api_datatypes_edam_data_detailed_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Dictionary of EDAM data details containing the EDAM iri, label, and definition */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["DatatypesEDAMDetailsDict"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - content_api_dataset_collection_element__dce_id__get: { - /** Content */ + edam_formats_api_datatypes_edam_formats_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The encoded ID of the dataset collection element. */ - path: { - dce_id: string; - }; + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Dictionary/map of datatypes and EDAM formats */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DCESummary"]; + "application/json": { + [key: string]: string; + }; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - create_api_dataset_collections_post: { - /** Create a new dataset collection instance. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; }; }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateNewCollectionPayload"]; - }; + }; + edam_formats_detailed_api_datatypes_edam_formats_detailed_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Dictionary of EDAM format details containing the EDAM iri, label, and definition */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HDCADetailed"]; + "application/json": components["schemas"]["DatatypesEDAMDetailsDict"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - contents_dataset_collection_api_dataset_collections__hdca_id__contents__parent_id__get: { - /** Returns direct child contents of indicated dataset collection parent ID. */ + mapping_api_datatypes_mapping_get: { parameters: { - /** @description The type of collection instance. Either `history` (default) or `library`. */ - /** @description The maximum number of content elements to return. */ - /** @description The number of content elements that will be skipped before returning. */ - query?: { - instance_type?: "history" | "library"; - limit?: number | null; - offset?: number | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The ID of the `HDCA`. */ - /** @description Parent collection ID describing what collection the contents belongs to. */ - path: { - hdca_id: string; - parent_id: string; - }; + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Dictionary to map data types with their classes */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetCollectionContentElements"]; + "application/json": components["schemas"]["DatatypesMap"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_dataset_collections__id__get: { - /** Returns detailed information about the given collection. */ + sniffers_api_datatypes_sniffers_get: { parameters: { - /** @description The type of collection instance. Either `history` (default) or `library`. */ - /** @description The view of collection instance to return. */ - query?: { - instance_type?: "history" | "library"; - view?: string; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The ID of the `HDCA`. */ - path: { - id: string; - }; + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description List of datatype sniffers */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HDCADetailed"] | components["schemas"]["HDCASummary"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - attributes_api_dataset_collections__id__attributes_get: { - /** Returns `dbkey`/`extension` attributes for all the collection elements. */ + types_and_mapping_api_datatypes_types_and_mapping_get: { parameters: { - /** @description The type of collection instance. Either `history` (default) or `library`. */ query?: { - instance_type?: "history" | "library"; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The ID of the `HDCA`. */ - path: { - id: string; + /** @description Whether to return only the datatype's extension rather than the datatype's details */ + extension_only?: boolean | null; + /** @description Whether to return only datatypes which can be uploaded */ + upload_only?: boolean | null; }; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Dictionary to map data types with their classes */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetCollectionAttributesResult"]; + "application/json": components["schemas"]["DatatypesCombinedMap"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - copy_api_dataset_collections__id__copy_post: { - /** Copy the given collection datasets to a new collection using a new `dbkey` attribute. */ + display_applications_index_api_display_applications_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The ID of the `HDCA`. */ - path: { - id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateCollectionAttributePayload"]; - }; + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["DisplayApplication"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - dataset_collections__download: { - /** - * Download the content of a dataset collection as a `zip` archive. - * @description Download the content of a history dataset collection as a `zip` archive - * while maintaining approximate collection structure. - */ + display_applications_reload_api_display_applications_reload_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the `HDCA`. */ - path: { - id: string; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": { + [key: string]: string[]; + } | null; }; }; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["ReloadFeedback"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - prepare_collection_download_api_dataset_collections__id__prepare_download_post: { - /** - * Prepare an short term storage object that the collection will be downloaded to. - * @description The history dataset collection will be written as a `zip` archive to the - * returned short term storage object. Progress tracking this file's creation - * can be tracked with the short_term_storage API. - */ + download_api_drs_download__object_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the `HDCA`. */ path: { - id: string; + /** @description The ID of the group */ + object_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Short term storage reference for async monitoring of this download. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncFile"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Required asynchronous tasks required for this operation not available. */ - 501: never; }; }; - suitable_converters_api_dataset_collections__id__suitable_converters_get: { - /** Returns a list of applicable converters for all datatypes in the given collection. */ + file_sources__instances_index: { parameters: { - /** @description The type of collection instance. Either `history` (default) or `library`. */ - query?: { - instance_type?: "history" | "library"; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the `HDCA`. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SuitableConverters"]; + "application/json": components["schemas"]["UserFileSourceModel"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_datasets_get: { - /** Search datasets or collections using a query system. */ - parameters?: { - /** @description Optional identifier of a History. Use it to restrict the search within a particular History. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - query?: { - history_id?: string | null; - view?: string | null; - keys?: string | null; - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + file_sources__create_instance: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateInstancePayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"] - )[]; + "application/json": components["schemas"]["UserFileSourceModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_batch_api_datasets_delete: { - /** - * Deletes or purges a batch of datasets. - * @description Deletes or purges a batch of datasets. - * **Warning**: only the ownership of the datasets (and upload state for HDAs) is checked, - * no other checks or restrictions are made. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + file_sources__test_new_instance_configuration: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["DeleteDatasetBatchPayload"]; + "application/json": components["schemas"]["CreateInstancePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DeleteDatasetBatchResult"]; + "application/json": components["schemas"]["PluginStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_datasets__dataset_id__get: { - /** - * Displays information about and/or content of a dataset. - * @description **Note**: Due to the multipurpose nature of this endpoint, which can receive a wild variety of parameters - * and return different kinds of responses, the documentation here will be limited. - * To get more information please check the source code. - */ + file_sources__instances_get: { parameters: { - /** @description The type of information about the dataset to be requested. */ - /** @description The type of information about the dataset to be requested. Each of these values may require additional parameters in the request and may return different responses. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"]; - data_type?: components["schemas"]["RequestDataType"] | null; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The UUID index for a persisted UserFileSourceStore object. */ + uuid: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["UserFileSourceModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - datasets__update_dataset: { - /** - * Updates the values for the history dataset (HDA) item with the given ``ID``. - * @description Updates the values for the history content item with the given ``ID``. - */ + file_sources__instances_update: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the item (`HDA`/`HDCA`) */ path: { - dataset_id: string; + /** @description The UUID index for a persisted UserFileSourceStore object. */ + uuid: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["UpdateHistoryContentsPayload"]; + "application/json": + | components["schemas"]["UpdateInstanceSecretPayload"] + | components["schemas"]["UpgradeInstancePayload"] + | components["schemas"]["UpdateInstancePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"]; + "application/json": components["schemas"]["UserFileSourceModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - datasets__delete: { - /** - * Delete the history dataset content with the given ``ID``. - * @description Delete the history content with the given ``ID`` and path specified type. - * - * **Note**: Currently does not stop any active jobs for which this dataset is an output. - */ + file_sources__instances_purge: { parameters: { - /** - * @deprecated - * @description Whether to remove from disk the target HDA or child HDAs of the target HDCA. - */ - /** - * @deprecated - * @description When deleting a dataset collection, whether to also delete containing datasets. - */ - /** - * @deprecated - * @description Whether to stop the creating job if all outputs of the job have been deleted. - */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - purge?: boolean | null; - recursive?: boolean | null; - stop_job?: boolean | null; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the item (`HDA`/`HDCA`) */ path: { - dataset_id: string; - }; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["DeleteHistoryContentPayload"]; + /** @description The UUID index for a persisted UserFileSourceStore object. */ + uuid: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Request has been executed. */ - 200: { - content: { - "application/json": components["schemas"]["DeleteHistoryContentResult"]; + /** @description Successful Response */ + 204: { + headers: { + [name: string]: unknown; }; + content?: never; }; - /** @description Request accepted, processing will finish later. */ - 202: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DeleteHistoryContentResult"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_structured_content_api_datasets__dataset_id__content__content_type__get: { - /** Retrieve information about the content of a dataset. */ + file_sources__instances_test_instance: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; - content_type: components["schemas"]["DatasetContentType"]; + /** @description The UUID index for a persisted UserFileSourceStore object. */ + uuid: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["PluginStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - converted_api_datasets__dataset_id__converted_get: { - /** - * Return a a map with all the existing converted datasets associated with this instance. - * @description Return a map of ` : ` containing all the *existing* converted datasets. - */ + file_sources__test_instances_update: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The UUID index for a persisted UserFileSourceStore object. */ + uuid: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": + | components["schemas"]["TestUpgradeInstancePayload"] + | components["schemas"]["TestUpdateInstancePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ConvertedDatasetsMap"]; + "application/json": components["schemas"]["PluginStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - converted_ext_api_datasets__dataset_id__converted__ext__get: { - /** - * Return information about datasets made by converting this dataset to a new format. - * @description Return information about datasets made by converting this dataset to a new format. - * - * If there is no existing converted dataset for the format in `ext`, one will be created. - * - * **Note**: `view` and `keys` are also available to control the serialization of the dataset. - */ + file_sources__templates_index: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ - /** @description File extension of the new format to convert this dataset to. */ - path: { - dataset_id: string; - ext: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A list of the configured file source templates. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"]; + "application/json": components["schemas"]["FileSourceTemplateSummaries"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - extra_files_api_datasets__dataset_id__extra_files_get: { - /** Get the list of extra files/directories associated with a dataset. */ + file_sources__template_oauth2: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the dataset. */ path: { - dataset_id: string; + /** @description The template ID of the target file source template. */ + template_id: string; + /** @description The template version of the target file source template. */ + template_version: number; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description OAuth2 authorization url to redirect user to prior to creation. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetExtraFiles"]; + "application/json": components["schemas"]["OAuth2Info"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_content_as_text_api_datasets__dataset_id__get_content_as_text_get: { - /** Returns dataset content as Text. */ + index_api_folders__folder_id__contents_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Maximum number of contents to return. */ + limit?: number; + /** @description Return contents from this specified position. For example, if ``limit`` is set to 100 and ``offset`` to 200, contents between position 200-299 will be returned. */ + offset?: number; + /** @description Used to filter the contents. Only the folders and files which name contains this text will be returned. */ + search_text?: string | null; + /** @description Returns also deleted contents. Deleted contents can only be retrieved by Administrators or users with */ + include_deleted?: boolean | null; + /** @description Sort results by specified field. */ + order_by?: "name" | "description" | "type" | "size" | "update_time"; + /** @description Sort results in descending order. */ + sort_desc?: boolean | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + folder_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The contents of the folder that match the query parameters. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetTextContentDetails"]; + "application/json": components["schemas"]["LibraryFolderContentsIndexResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - compute_hash_api_datasets__dataset_id__hash_put: { - /** Compute dataset hash for dataset and update model */ + add_history_datasets_to_library_api_folders__folder_id__contents_post: { parameters: { - /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ - query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"]; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + folder_id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["ComputeDatasetHashPayload"]; + "application/json": components["schemas"]["CreateLibraryFilePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_inheritance_chain_api_datasets__dataset_id__inheritance_chain_get: { - /** For internal use, this endpoint may change without warning. */ + show_api_folders__id__get: { parameters: { - /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ - query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"]; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetInheritanceChain"]; + "application/json": components["schemas"]["LibraryFolderDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_metrics_api_datasets__dataset_id__metrics_get: { - /** - * Return job metrics for specified job. - * @deprecated - */ + update_api_folders__id__put: { parameters: { - /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ - query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"]; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the dataset */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateLibraryFolderPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": (components["schemas"]["JobMetric"] | null)[]; + "application/json": components["schemas"]["LibraryFolderDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - datasets__update_object_store_id: { - /** Update an object store ID for a dataset you own. */ + create_api_folders__id__post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["UpdateObjectStoreIdPayload"]; + "application/json": components["schemas"]["CreateLibraryFolderPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["LibraryFolderDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - resolve_parameters_display_api_datasets__dataset_id__parameters_display_get: { - /** - * Resolve parameters as a list for nested display. - * @deprecated - * @description Resolve parameters as a list for nested display. - * This API endpoint is unstable and tied heavily to Galaxy's JS client code, - * this endpoint will change frequently. - */ + delete_api_folders__id__delete: { parameters: { - /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"]; + /** @description Whether to restore a deleted library folder. */ + undelete?: boolean | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the dataset */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobDisplayParametersSummary"]; + "application/json": components["schemas"]["LibraryFolderDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_permissions_api_datasets__dataset_id__permissions_put: { - /** - * Set permissions of the given history dataset to the given role ids. - * @description Set permissions of the given history dataset to the given role ids. - */ + update_api_folders__id__patch: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": Record; + "application/json": components["schemas"]["UpdateLibraryFolderPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetAssociationRoles"]; + "application/json": components["schemas"]["LibraryFolderDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_storage_api_datasets__dataset_id__storage_get: { - /** Display user-facing storage details related to the objectstore a dataset resides in. */ + get_permissions_api_folders__id__permissions_get: { parameters: { - /** @description Whether this dataset belongs to a history (HDA) or a library (LDDA). */ query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"]; + /** @description The scope of the permissions to retrieve. Either the `current` permissions or the `available`. */ + scope?: components["schemas"]["LibraryPermissionScope"] | null; + /** @description The page number to retrieve when paginating the available roles. */ + page?: number; + /** @description The maximum number of permissions per page when paginating. */ + page_limit?: number; + /** @description Optional search text to retrieve only the roles matching this query. */ + q?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - dataset_id: string; + /** @description The encoded identifier of the library folder. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetStorageDetails"]; + "application/json": + | components["schemas"]["LibraryFolderCurrentPermissions"] + | components["schemas"]["LibraryAvailablePermissions"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - display_api_datasets__history_content_id__display_get: { - /** - * Displays (preview) or downloads dataset content. - * @description Streams the dataset for download or the contents preview to be displayed in a browser. - */ + set_permissions_api_folders__id__permissions_post: { parameters: { - /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ - /** @description If non-null, get the specified filename from the extra files for this dataset. */ - /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ - /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ - /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ - /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ query?: { - preview?: boolean; - filename?: string | null; - to_ext?: string | null; - raw?: boolean; - offset?: number | null; - ck_size?: number | null; + /** @description Indicates what action should be performed on the Library. Currently only `set_permissions` is supported. */ + action?: components["schemas"]["LibraryFolderPermissionAction"] | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - history_content_id: string; + /** @description The encoded identifier of the library folder. */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["LibraryFolderPermissionsPayload"]; }; }; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LibraryFolderCurrentPermissions"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - display_api_datasets__history_content_id__display_head: { - /** - * Check if dataset content can be previewed or downloaded. - * @description Streams the dataset for download or the contents preview to be displayed in a browser. - */ + delete_api_forms__id__delete: { parameters: { - /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ - /** @description If non-null, get the specified filename from the extra files for this dataset. */ - /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ - /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ - /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ - /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ - query?: { - preview?: boolean; - filename?: string | null; - to_ext?: string | null; - raw?: boolean; - offset?: number | null; - ck_size?: number | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - history_content_id: string; + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - datasets__get_metadata_file: { - /** Returns the metadata file associated with this history item. */ + undelete_api_forms__id__undelete_post: { parameters: { - /** @description The name of the metadata file to retrieve. */ - query: { - metadata_file: string; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - history_content_id: string; + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_metadata_file_datasets_api_datasets__history_content_id__metadata_file_head: { - /** Check if metadata file can be downloaded. */ + index_api_ftp_files_get: { parameters: { - /** @description The name of the metadata file to retrieve. */ - query: { - metadata_file: string; + query?: { + /** @description The source to load datasets from. Possible values: ftpdir, userdir, importdir */ + target?: string; + /** @description The requested format of returned data. Either `flat` to simply list all the files, `jstree` to get a tree representation of the files, or the default `uri` to list files and directories by their URI. */ + format?: components["schemas"]["RemoteFilesFormat"] | null; + /** @description Whether to recursively lists all sub-directories. This will be `True` by default depending on the `target`. */ + recursive?: boolean | null; + /** @description (This only applies when `format` is `jstree`) The value can be either `folders` or `files` and it will disable the corresponding nodes of the tree. */ + disable?: components["schemas"]["RemoteFilesDisableMode"] | null; + /** @description Whether the query is made with the intention of writing to the source. If set to True, only entries that can be written to will be returned. */ + writeable?: boolean | null; + /** @description Maximum number of entries to return. */ + limit?: number | null; + /** @description Number of entries to skip. */ + offset?: number | null; + /** @description Search query to filter entries by. The syntax could be different depending on the target source. */ + query?: string | null; + /** @description Sort the entries by the specified field. */ + sort_by?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ - path: { - history_content_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": + | components["schemas"]["ListUriResponse"] + | components["schemas"]["ListJstreeResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_datatypes_get: { - /** - * Lists all available data types - * @description Gets the list of all available data types. - */ - parameters?: { - /** @description Whether to return only the datatype's extension rather than the datatype's details */ - /** @description Whether to return only datatypes which can be uploaded */ + index_api_genomes_get: { + parameters: { query?: { - extension_only?: boolean | null; - upload_only?: boolean | null; + /** @description If true, return genome keys with chromosome lengths */ + chrom_info?: boolean; }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description List of data types */ + /** @description Installed genomes */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatatypeDetails"][] | string[]; + "application/json": string[][]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - converters_api_datatypes_converters_get: { - /** - * Returns the list of all installed converters - * @description Gets the list of all installed converters. - */ - responses: { - /** @description List of all datatype converters */ - 200: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatatypeConverterList"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - edam_data_api_datatypes_edam_data_get: { - /** - * Returns a dictionary/map of datatypes and EDAM data - * @description Gets a map of datatypes and their corresponding EDAM data. - */ + show_api_genomes__id__get: { + parameters: { + query?: { + /** @description If true, return reference data */ + reference?: boolean; + /** @description Limits size of returned data */ + num?: number; + /** @description Limits size of returned data */ + chrom?: string; + /** @description Limits size of returned data */ + low?: number; + /** @description Limits size of returned data */ + high?: number; + /** @description Format */ + format?: string; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description Genome ID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; responses: { - /** @description Dictionary/map of datatypes and EDAM data */ + /** @description Information about genome build */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": { - [key: string]: string | undefined; - }; + "application/json": unknown; }; }; - }; - }; - edam_data_detailed_api_datatypes_edam_data_detailed_get: { - /** - * Returns a dictionary of datatypes and EDAM data details - * @description Gets a map of datatypes and their corresponding EDAM data. - * EDAM data contains the EDAM iri, label, and definition. - */ - responses: { - /** @description Dictionary of EDAM data details containing the EDAM iri, label, and definition */ - 200: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatatypesEDAMDetailsDict"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - edam_formats_api_datatypes_edam_formats_get: { - /** - * Returns a dictionary/map of datatypes and EDAM formats - * @description Gets a map of datatypes and their corresponding EDAM formats. - */ - responses: { - /** @description Dictionary/map of datatypes and EDAM formats */ - 200: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": { - [key: string]: string | undefined; - }; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - edam_formats_detailed_api_datatypes_edam_formats_detailed_get: { - /** - * Returns a dictionary of datatypes and EDAM format details - * @description Gets a map of datatypes and their corresponding EDAM formats. - * EDAM formats contain the EDAM iri, label, and definition. - */ + indexes_api_genomes__id__indexes_get: { + parameters: { + query?: { + /** @description Index type */ + type?: string; + /** @description Format */ + format?: string; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description Genome ID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; responses: { - /** @description Dictionary of EDAM format details containing the EDAM iri, label, and definition */ + /** @description Indexes for a genome id for provided type */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatatypesEDAMDetailsDict"]; + "application/json": unknown; }; }; - }; - }; - mapping_api_datatypes_mapping_get: { - /** - * Returns mappings for data types and their implementing classes - * @description Gets mappings for data types. - */ - responses: { - /** @description Dictionary to map data types with their classes */ - 200: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatatypesMap"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - sniffers_api_datatypes_sniffers_get: { - /** - * Returns the list of all installed sniffers - * @description Gets the list of all installed data type sniffers. - */ - responses: { - /** @description List of datatype sniffers */ - 200: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string[]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - types_and_mapping_api_datatypes_types_and_mapping_get: { - /** - * Returns all the data types extensions and their mappings - * @description Combines the datatype information from (/api/datatypes) and the - * mapping information from (/api/datatypes/mapping) into a single - * response. - */ - parameters?: { - /** @description Whether to return only the datatype's extension rather than the datatype's details */ - /** @description Whether to return only datatypes which can be uploaded */ + sequences_api_genomes__id__sequences_get: { + parameters: { query?: { - extension_only?: boolean | null; - upload_only?: boolean | null; + /** @description If true, return reference data */ + reference?: boolean; + /** @description Limits size of returned data */ + chrom?: string; + /** @description Limits size of returned data */ + low?: number; + /** @description Limits size of returned data */ + high?: number; + /** @description Format */ + format?: string; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; }; + path: { + /** @description Genome ID */ + id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Dictionary to map data types with their classes */ + /** @description Raw sequence data */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatatypesCombinedMap"]; + "application/json": unknown; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - display_applications_index_api_display_applications_get: { - /** - * Returns the list of display applications. - * @description Returns the list of display applications. - */ - responses: { - /** @description Successful Response */ - 200: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DisplayApplication"][]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - display_applications_reload_api_display_applications_reload_post: { - /** - * Reloads the list of display applications. - * @description Reloads the list of display applications. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + index_api_groups_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; - requestBody?: { - content: { - "application/json": { - [key: string]: string[] | undefined; - } | null; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ReloadFeedback"]; + "application/json": components["schemas"]["GroupListResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - download_api_drs_download__object_id__get: { - /** Download */ + create_api_groups_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group */ - path: { - object_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["GroupCreatePayload"]; }; }; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["GroupListResponse"]; }; }; - }; - }; - file_sources__instances_index: { - /** Get a list of persisted file source instances defined by the requesting user. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - }; - responses: { - /** @description Successful Response */ - 200: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserFileSourceModel"][]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - file_sources__create_instance: { - /** Create a user-bound file source. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + show_group_api_groups__group_id__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateInstancePayload"]; + path: { + group_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserFileSourceModel"]; + "application/json": components["schemas"]["GroupResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - file_sources__test_new_instance_configuration: { - /** Test payload for creating user-bound file source. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + update_api_groups__group_id__put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + group_id: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateInstancePayload"]; + "application/json": components["schemas"]["GroupUpdatePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GroupResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["PluginStatus"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - file_sources__instances_get: { - /** Get a persisted user file source instance. */ + delete_api_groups__group_id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { - user_file_source_id: string; + group_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserFileSourceModel"]; + "application/json": unknown; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - file_sources__instances_update: { - /** Update or upgrade user file source instance. */ + purge_api_groups__group_id__purge_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { - user_file_source_id: string; - }; - }; - requestBody: { - content: { - "application/json": - | components["schemas"]["UpdateInstanceSecretPayload"] - | components["schemas"]["UpgradeInstancePayload"] - | components["schemas"]["UpdateInstancePayload"]; + group_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserFileSourceModel"]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - file_sources__instances_purge: { - /** Purge user file source instance. */ + group_roles_api_groups__group_id__roles_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { - user_file_source_id: string; + /** @description The ID of the group. */ + group_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GroupRoleListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - file_sources__templates_index: { - /** Get a list of file source templates available to build user defined file sources from */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + group_role_api_groups__group_id__roles__role_id__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the role. */ + role_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description A list of the configured file source templates. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["FileSourceTemplateSummaries"]; + "application/json": components["schemas"]["GroupRoleResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_folders__folder_id__contents_get: { - /** - * Returns a list of a folder's contents (files and sub-folders) with additional metadata about the folder. - * @description Returns a list of a folder's contents (files and sub-folders). - * - * Additional metadata for the folder is provided in the response as a separate object containing data - * for breadcrumb path building, permissions and other folder's details. - * - * *Note*: When sorting, folders always have priority (they show-up before any dataset regardless of the sorting). - * - * **Security note**: - * - Accessing a library folder or sub-folder requires only access to the parent library. - * - Deleted folders can only be accessed by admins or users with `MODIFY` permission. - * - Datasets may be public, private or restricted (to a group of users). Listing deleted datasets has the same requirements as folders. - */ - parameters: { - /** @description Maximum number of contents to return. */ - /** @description Return contents from this specified position. For example, if ``limit`` is set to 100 and ``offset`` to 200, contents between position 200-299 will be returned. */ - /** @description Used to filter the contents. Only the folders and files which name contains this text will be returned. */ - /** @description Returns also deleted contents. Deleted contents can only be retrieved by Administrators or users with */ - /** @description Sort results by specified field. */ - /** @description Sort results in descending order. */ - query?: { - limit?: number; - offset?: number; - search_text?: string | null; - include_deleted?: boolean | null; - order_by?: "name" | "description" | "type" | "size" | "update_time"; - sort_desc?: boolean | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + update_api_groups__group_id__roles__role_id__put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - folder_id: string; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the role. */ + role_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The contents of the folder that match the query parameters. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibraryFolderContentsIndexResult"]; + "application/json": components["schemas"]["GroupRoleResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - add_history_datasets_to_library_api_folders__folder_id__contents_post: { - /** Creates a new library file from an existing HDA/HDCA. */ + delete_api_groups__group_id__roles__role_id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - folder_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateLibraryFilePayload"]; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the role. */ + role_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["GroupRoleResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_folders__id__get: { - /** - * Displays information about a particular library folder. - * @description Returns detailed information about the library folder with the given ID. - */ + undelete_api_groups__group_id__undelete_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - id: string; + group_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibraryFolderDetails"]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_folders__id__put: { - /** - * Updates the information of an existing library folder. - * @description Updates the information of an existing library folder. - */ + group_user_api_groups__group_id__user__user_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateLibraryFolderPayload"]; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibraryFolderDetails"]; + "application/json": components["schemas"]["GroupUserResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_folders__id__post: { - /** - * Create a new library folder underneath the one specified by the ID. - * @description Returns detailed information about the newly created library folder. - */ + update_api_groups__group_id__user__user_id__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateLibraryFolderPayload"]; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibraryFolderDetails"]; + "application/json": components["schemas"]["GroupUserResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_folders__id__delete: { - /** - * Marks the specified library folder as deleted (or undeleted). - * @description Marks the specified library folder as deleted (or undeleted). - */ + delete_api_groups__group_id__user__user_id__delete: { parameters: { - /** @description Whether to restore a deleted library folder. */ - query?: { - undelete?: boolean | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - id: string; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibraryFolderDetails"]; + "application/json": components["schemas"]["GroupUserResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_folders__id__patch: { - /** - * Update - * @description Updates the information of an existing library folder. - */ + group_users_api_groups__group_id__users_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateLibraryFolderPayload"]; + /** @description The ID of the group. */ + group_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibraryFolderDetails"]; + "application/json": components["schemas"]["GroupUserListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_permissions_api_folders__id__permissions_get: { - /** - * Gets the current or available permissions of a particular library folder. - * @description Gets the current or available permissions of a particular library. - * The results can be paginated and additionally filtered by a query. - */ + group_user_api_groups__group_id__users__user_id__get: { parameters: { - /** @description The scope of the permissions to retrieve. Either the `current` permissions or the `available`. */ - /** @description The page number to retrieve when paginating the available roles. */ - /** @description The maximum number of permissions per page when paginating. */ - /** @description Optional search text to retrieve only the roles matching this query. */ - query?: { - scope?: components["schemas"]["LibraryPermissionScope"] | null; - page?: number; - page_limit?: number; - q?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - id: string; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["LibraryFolderCurrentPermissions"] - | components["schemas"]["LibraryAvailablePermissions"]; + "application/json": components["schemas"]["GroupUserResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_permissions_api_folders__id__permissions_post: { - /** - * Sets the permissions to manage a library folder. - * @description Sets the permissions to manage a library folder. - */ + update_api_groups__group_id__users__user_id__put: { parameters: { - /** @description Indicates what action should be performed on the Library. Currently only `set_permissions` is supported. */ - query?: { - action?: components["schemas"]["LibraryFolderPermissionAction"] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded identifier of the library folder. */ path: { - id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["LibraryFolderPermissionsPayload"]; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibraryFolderCurrentPermissions"]; + "application/json": components["schemas"]["GroupUserResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_forms__id__delete: { - /** Delete */ + delete_api_groups__group_id__users__user_id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - id: string; + /** @description The ID of the group. */ + group_id: string; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["GroupUserResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - undelete_api_forms__id__undelete_post: { - /** Undelete */ + search_forum_api_help_forum_search_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query: { + /** @description Search query to use for searching the Galaxy Help forum. */ + query: string; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["HelpForumSearchResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_ftp_files_get: { - /** - * Displays remote files available to the user. Please use /api/remote_files instead. - * @deprecated - * @description Lists all remote files available to the user from different sources. - * - * The total count of files and directories is returned in the 'total_matches' header. - */ - parameters?: { - /** @description The source to load datasets from. Possible values: ftpdir, userdir, importdir */ - /** @description The requested format of returned data. Either `flat` to simply list all the files, `jstree` to get a tree representation of the files, or the default `uri` to list files and directories by their URI. */ - /** @description Whether to recursively lists all sub-directories. This will be `True` by default depending on the `target`. */ - /** @description (This only applies when `format` is `jstree`) The value can be either `folders` or `files` and it will disable the corresponding nodes of the tree. */ - /** @description Whether the query is made with the intention of writing to the source. If set to True, only entries that can be written to will be returned. */ - /** @description Maximum number of entries to return. */ - /** @description Number of entries to skip. */ - /** @description Search query to filter entries by. The syntax could be different depending on the target source. */ - /** @description Sort the entries by the specified field. */ + index_api_histories_get: { + parameters: { query?: { - target?: string; - format?: components["schemas"]["RemoteFilesFormat"] | null; - recursive?: boolean | null; - disable?: components["schemas"]["RemoteFilesDisableMode"] | null; - writeable?: boolean | null; + /** @description The maximum number of items to return. */ limit?: number | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ offset?: number | null; - query?: string | null; - sort_by?: string | null; + show_own?: boolean; + show_published?: boolean; + show_shared?: boolean; + /** @description Whether to include archived histories. */ + show_archived?: boolean | null; + /** @description Sort index by this specified attribute */ + sort_by?: "create_time" | "name" | "update_time" | "username"; + /** @description Sort in descending order? */ + sort_desc?: boolean; + /** @description A mix of free text and GitHub-style tags used to filter the index operation. + * + * ## Query Structure + * + * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form + * `:` or `:''`. The tag name + * *generally* (but not exclusively) corresponds to the name of an attribute on the model + * being indexed (i.e. a column in the database). + * + * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, + * generally a partial match will be used to filter the query (i.e. in terms of the implementation + * this means the database operation `ILIKE` will typically be used). + * + * Once the tagged filters are extracted from the search query, the remaining text is just + * used to search various documented attributes of the object. + * + * ## GitHub-style Tags Available + * + * `name` + * : The history's name. + * + * `annotation` + * : The history's annotation. (The tag `a` can be used a short hand alias for this tag to filter on this attribute.) + * + * `tag` + * : The history's tags. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) + * + * ## Free Text + * + * Free text search terms will be searched against the following attributes of the + * Historys: `title`, `description`, `slug`, `tag`. + * + * */ + search?: string | null; + /** @description Whether all histories from other users in this Galaxy should be included. Only admins are allowed to query all histories. */ + all?: boolean | null; + /** + * @deprecated + * @description Whether to return only deleted items. + */ + deleted?: boolean | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["ListUriResponse"] - | components["schemas"]["ListJstreeResponse"]; + "application/json": ( + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_genomes_get: { - /** Return a list of installed genomes */ - parameters?: { - /** @description If true, return genome keys with chromosome lengths */ + create_api_histories_post: { + parameters: { query?: { - chrom_info?: boolean; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": components["schemas"]["Body_create_api_histories_post"]; + }; }; responses: { - /** @description Installed genomes */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string[][]; + "application/json": + | components["schemas"]["JobImportHistoryResponse"] + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_genomes__id__get: { - /** Return information about build */ + get_archived_histories_api_histories_archived_get: { parameters: { - /** @description If true, return reference data */ - /** @description Limits size of returned data */ - /** @description Limits size of returned data */ - /** @description Limits size of returned data */ - /** @description Limits size of returned data */ - /** @description Format */ query?: { - reference?: boolean; - num?: number; - chrom?: string; - low?: number; - high?: number; - format?: string; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description Genome ID */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Information about genome build */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": ( + | components["schemas"]["CustomArchivedHistoryView"] + | components["schemas"]["ArchivedHistoryDetailed"] + | components["schemas"]["ArchivedHistorySummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - indexes_api_genomes__id__indexes_get: { - /** Return all available indexes for a genome id for provided type */ + batch_delete_api_histories_batch_delete_put: { parameters: { - /** @description Index type */ - /** @description Format */ query?: { - type?: string; - format?: string; + purge?: boolean; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description Genome ID */ - path: { - id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["DeleteHistoriesPayload"]; }; }; responses: { - /** @description Indexes for a genome id for provided type */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": ( + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - sequences_api_genomes__id__sequences_get: { - /** Return raw sequence data */ + batch_undelete_api_histories_batch_undelete_put: { parameters: { - /** @description If true, return reference data */ - /** @description Limits size of returned data */ - /** @description Limits size of returned data */ - /** @description Limits size of returned data */ - /** @description Format */ query?: { - reference?: boolean; - chrom?: string; - low?: number; - high?: number; - format?: string; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description Genome ID */ - path: { - id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UndeleteHistoriesPayload"]; }; }; responses: { - /** @description Raw sequence data */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": ( + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_groups_get: { - /** Displays a collection (list) of groups. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + count_api_histories_count_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupListResponse"]; + "application/json": number; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_groups_post: { - /** Creates a new group. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + index_deleted_api_histories_deleted_get: { + parameters: { + query?: { + /** @description Whether all histories from other users in this Galaxy should be included. Only admins are allowed to query all histories. */ + all?: boolean | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["GroupCreatePayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupListResponse"]; + "application/json": ( + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_group_api_groups__group_id__get: { - /** Displays information about a group. */ + undelete_api_histories_deleted__history_id__undelete_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - group_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupResponse"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_groups__group_id__put: { - /** Modifies a group. */ + create_from_store_api_histories_from_store_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - group_id: string; - }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["GroupUpdatePayload"]; + "application/json": components["schemas"]["CreateHistoryFromStore"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupResponse"]; + "application/json": + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_groups__group_id__delete: { - /** Delete */ + create_from_store_async_api_histories_from_store_async_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - group_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateHistoryFromStore"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - purge_api_groups__group_id__purge_post: { - /** Purge */ + show_recent_api_histories_most_recently_used_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - group_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - group_roles_api_groups__group_id__roles_get: { - /** Displays a collection (list) of groups. */ + published_api_histories_published_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - path: { - group_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupRoleListResponse"]; + "application/json": ( + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"] + )[]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - group_role_api_groups__group_id__roles__role_id__get: { - /** Displays information about a group role. */ + shared_with_me_api_histories_shared_with_me_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the role. */ - path: { - group_id: string; - role_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupRoleResponse"]; + "application/json": ( + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_groups__group_id__roles__role_id__put: { - /** Adds a role to a group */ + history_api_histories__history_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the role. */ path: { - group_id: string; - role_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupRoleResponse"]; + "application/json": + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_groups__group_id__roles__role_id__delete: { - /** Removes a role from a group */ + update_api_histories__history_id__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the role. */ path: { - group_id: string; - role_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateHistoryPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupRoleResponse"]; + "application/json": + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - undelete_api_groups__group_id__undelete_post: { - /** Undelete */ + delete_api_histories__history_id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + purge?: boolean; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - group_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["DeleteHistoryPayload"] | null; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - group_user_api_groups__group_id__user__user_id__get: { - /** - * Displays information about a group user. - * @description Displays information about a group user. - */ + archive_history_api_histories__history_id__archive_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the user. */ path: { - group_id: string; - user_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ArchiveHistoryRequestPayload"] | null; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupUserResponse"]; + "application/json": + | components["schemas"]["CustomArchivedHistoryView"] + | components["schemas"]["ArchivedHistoryDetailed"] + | components["schemas"]["ArchivedHistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_groups__group_id__user__user_id__put: { - /** - * Adds a user to a group - * @description PUT /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Adds a user to a group - */ + restore_archived_history_api_histories__history_id__archive_restore_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description If true, the history will be un-archived even if it has an associated archive export record and was purged. */ + force?: boolean | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the user. */ path: { - group_id: string; - user_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupUserResponse"]; + "application/json": + | components["schemas"]["CustomHistoryView"] + | components["schemas"]["HistoryDetailed"] + | components["schemas"]["HistorySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_groups__group_id__user__user_id__delete: { - /** - * Removes a user from a group - * @description DELETE /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Removes a user from a group - */ + citations_api_histories__history_id__citations_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the user. */ path: { - group_id: string; - user_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupUserResponse"]; + "application/json": unknown[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - group_users_api_groups__group_id__users_get: { - /** - * Displays a collection (list) of groups. - * @description GET /api/groups/{encoded_group_id}/users - * Displays a collection (list) of groups. - */ + history_contents__index: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Only `dev` value is allowed. Set it to use the latest version of this endpoint. **All parameters marked as `deprecated` will be ignored when this parameter is set.** */ + v?: string | null; + /** + * @deprecated + * @description Legacy name for the `dataset_details` parameter. + */ + details?: string | null; + /** + * @deprecated + * @description A comma-separated list of encoded `HDA/HDCA` IDs. If this list is provided, only information about the specific datasets will be returned. Also, setting this value will return `all` details of the content item. + */ + ids?: string | null; + /** + * @deprecated + * @description A list or comma-separated list of kinds of contents to return (currently just `dataset` and `dataset_collection` are available). If unset, all types will be returned. + */ + types?: string[] | null; + /** + * @deprecated + * @description Whether to return deleted or undeleted datasets only. Leave unset for both. + */ + deleted?: boolean | null; + /** + * @deprecated + * @description Whether to return visible or hidden datasets only. Leave unset for both. + */ + visible?: boolean | null; + /** @description Whether to return only shareable or not shareable datasets. Leave unset for both. */ + shareable?: boolean | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; + }; header?: { + /** @description Accept header to determine the response format. Default is 'application/json'. */ + accept?: "application/json" | "application/vnd.galaxy.history.contents.stats+json"; + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ path: { - group_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The contents of the history that match the query. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupUserListResponse"]; + "application/json": components["schemas"]["HistoryContentsResult"]; + "application/vnd.galaxy.history.contents.stats+json": components["schemas"]["HistoryContentsWithStatsResult"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - group_user_api_groups__group_id__users__user_id__get: { - /** - * Displays information about a group user. - * @description Displays information about a group user. - */ + update_batch_api_histories__history_id__contents_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the user. */ path: { - group_id: string; - user_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateHistoryContentsBatchPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupUserResponse"]; + "application/json": components["schemas"]["HistoryContentsResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_groups__group_id__users__user_id__put: { - /** - * Adds a user to a group - * @description PUT /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Adds a user to a group - */ + history_contents__create: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description The type of the target history element. */ + type?: components["schemas"]["HistoryContentType"] | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the user. */ path: { - group_id: string; - user_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateHistoryContentPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupUserResponse"]; + "application/json": + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"] + | ( + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_groups__group_id__users__user_id__delete: { - /** - * Removes a user from a group - * @description DELETE /api/groups/{encoded_group_id}/users/{encoded_user_id} - * Removes a user from a group - */ + history_contents__archive: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description The name that the Archive will have (defaults to history name). */ + filename?: string | null; + /** @description Whether to return the archive and file paths only (as JSON) and not an actual archive file. */ + dry_run?: boolean | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group. */ - /** @description The ID of the user. */ path: { - group_id: string; - user_id: string; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["GroupUserResponse"]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - search_forum_api_help_forum_search_get: { - /** - * Search the Galaxy Help forum. - * @description Search the Galaxy Help forum using the Discourse API. - * - * **Note**: This endpoint is for **INTERNAL USE ONLY** and is not part of the public Galaxy API. - */ + history_contents__archive_named: { parameters: { - /** @description Search query to use for searching the Galaxy Help forum. */ - query: { - query: string; + query?: { + /** @description Whether to return the archive and file paths only (as JSON) and not an actual archive file. */ + dry_run?: boolean | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The encoded database identifier of the History. */ + history_id: string; + /** @description The name that the Archive will have (defaults to history name). */ + filename: string; + /** + * @deprecated + * @description Output format of the archive. + */ + format: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HelpForumSearchResponse"]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_histories_get: { - /** Returns histories available to the current user. */ - parameters?: { - /** @description The maximum number of items to return. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description Whether to include archived histories. */ - /** @description Sort index by this specified attribute */ - /** @description Sort in descending order? */ - /** - * @description A mix of free text and GitHub-style tags used to filter the index operation. - * - * ## Query Structure - * - * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form - * `:` or `:''`. The tag name - * *generally* (but not exclusively) corresponds to the name of an attribute on the model - * being indexed (i.e. a column in the database). - * - * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, - * generally a partial match will be used to filter the query (i.e. in terms of the implementation - * this means the database operation `ILIKE` will typically be used). - * - * Once the tagged filters are extracted from the search query, the remaining text is just - * used to search various documented attributes of the object. - * - * ## GitHub-style Tags Available - * - * `name` - * : The history's name. - * - * `annotation` - * : The history's annotation. (The tag `a` can be used a short hand alias for this tag to filter on this attribute.) - * - * `tag` - * : The history's tags. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) - * - * ## Free Text - * - * Free text search terms will be searched against the following attributes of the - * Historys: `title`, `description`, `slug`, `tag`. - */ - /** @description Whether all histories from other users in this Galaxy should be included. Only admins are allowed to query all histories. */ - /** - * @deprecated - * @description Whether to return only deleted items. - */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ + bulk_operation_api_histories__history_id__contents_bulk_put: { + parameters: { query?: { - limit?: number | null; - offset?: number | null; - show_own?: boolean; - show_published?: boolean; - show_shared?: boolean; - show_archived?: boolean | null; - sort_by?: "create_time" | "name" | "update_time" | "username"; - sort_desc?: boolean; - search?: string | null; - all?: boolean | null; - deleted?: boolean | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ q?: string[] | null; + /** @description The value to filter by. */ qv?: string[] | null; - order?: string | null; - view?: string | null; - keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["HistoryContentBulkOperationPayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"] - )[]; + "application/json": components["schemas"]["HistoryContentBulkOperationResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_histories_post: { - /** - * Creates a new history. - * @description The new history can also be copied form a existing history or imported from an archive or URL. - */ - parameters?: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + history_contents__download_collection: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody?: { - content: { - "application/x-www-form-urlencoded": components["schemas"]["Body_create_api_histories_post"]; + path: { + /** @description The ID of the `HDCA`. */ + id: string; + /** @description The encoded database identifier of the History. */ + history_id: string | null; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["JobImportHistoryResponse"] - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_archived_histories_api_histories_archived_get: { - /** - * Get a list of all archived histories for the current user. - * @description Get a list of all archived histories for the current user. - * - * Archived histories are histories are not part of the active histories of the user but they can be accessed using this endpoint. - */ - parameters?: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - query?: { - view?: string | null; - keys?: string | null; - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + materialize_dataset_api_histories__history_id__contents_datasets__id__materialize_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The encoded database identifier of the History. */ + history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["ArchivedHistorySummary"] - | components["schemas"]["ArchivedHistoryDetailed"] - | Record - )[]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - batch_delete_api_histories_batch_delete_put: { - /** Marks several histories with the given IDs as deleted. */ - parameters?: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - purge?: boolean; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + update_permissions_api_histories__history_id__contents__dataset_id__permissions_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The encoded database identifier of the History. */ + history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + dataset_id: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["DeleteHistoriesPayload"]; + "application/json": + | components["schemas"]["UpdateDatasetPermissionsPayload"] + | components["schemas"]["UpdateDatasetPermissionsPayloadAliasB"] + | components["schemas"]["UpdateDatasetPermissionsPayloadAliasC"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"] - )[]; + "application/json": components["schemas"]["DatasetAssociationRoles"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - batch_undelete_api_histories_batch_undelete_put: { - /** Marks several histories with the given IDs as undeleted. */ - parameters?: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ + history_contents_display_api_histories__history_id__contents__history_content_id__display_get: { + parameters: { query?: { - view?: string | null; - keys?: string | null; + /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ + preview?: boolean; + /** @description If non-null, get the specified filename from the extra files for this dataset. */ + filename?: string | null; + /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ + to_ext?: string | null; + /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ + raw?: boolean; + /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ + offset?: number | null; + /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ + ck_size?: number | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UndeleteHistoriesPayload"]; + path: { + /** @description The ID of the History Dataset. */ + history_content_id: string; + history_id: string | null; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"] - )[]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - count_api_histories_count_get: { - /** Returns number of histories for the current user. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + history_contents_display_api_histories__history_id__contents__history_content_id__display_head: { + parameters: { + query?: { + /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ + preview?: boolean; + /** @description If non-null, get the specified filename from the extra files for this dataset. */ + filename?: string | null; + /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ + to_ext?: string | null; + /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ + raw?: boolean; + /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ + offset?: number | null; + /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ + ck_size?: number | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the History Dataset. */ + history_content_id: string; + history_id: string | null; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": number; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_deleted_api_histories_deleted_get: { - /** Returns deleted histories for the current user. */ - parameters?: { - /** @description Whether all histories from other users in this Galaxy should be included. Only admins are allowed to query all histories. */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - all?: boolean | null; - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + extra_files_history_api_histories__history_id__contents__history_content_id__extra_files_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The encoded database identifier of the History. */ + history_id: string; + /** @description The ID of the History Dataset. */ + history_content_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"] - )[]; + "application/json": components["schemas"]["DatasetExtraFiles"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - undelete_api_histories_deleted__history_id__undelete_post: { - /** Restores a deleted history with the given ID (that hasn't been purged). */ + history_contents__get_metadata_file: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; + query: { + /** @description The name of the metadata file to retrieve. */ + metadata_file: string; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the History Dataset. */ + history_content_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_from_store_api_histories_from_store_post: { - /** Create histories from a model store. */ - parameters?: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + index_api_histories__history_id__contents__history_content_id__tags_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateHistoryFromStore"]; + path: { + history_content_id: string; + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + "application/json": components["schemas"]["ItemTagsListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_from_store_async_api_histories_from_store_async_post: { - /** Launch a task to create histories from a model store. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + show_api_histories__history_id__contents__history_content_id__tags__tag_name__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateHistoryFromStore"]; + path: { + history_content_id: string; + tag_name: string; + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["ItemTagsResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_recent_api_histories_most_recently_used_get: { - /** Returns the most recently used history of the user. */ - parameters?: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + update_api_histories__history_id__contents__history_content_id__tags__tag_name__put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + history_content_id: string; + tag_name: string; + history_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ItemTagsCreatePayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + "application/json": components["schemas"]["ItemTagsResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - published_api_histories_published_get: { - /** Return all histories that are published. */ - parameters?: { - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + create_api_histories__history_id__contents__history_content_id__tags__tag_name__post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + history_content_id: string; + tag_name: string; + history_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ItemTagsCreatePayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"] - )[]; + "application/json": components["schemas"]["ItemTagsResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - shared_with_me_api_histories_shared_with_me_get: { - /** Return all histories that are shared with the current user. */ - parameters?: { - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - view?: string | null; - keys?: string | null; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + }; + }; + delete_api_histories__history_id__contents__history_content_id__tags__tag_name__delete: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + history_content_id: string; + tag_name: string; + history_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"] - )[]; + "application/json": boolean; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_api_histories__history_id__get: { - /** Returns the history with the given ID. */ + history_contents__show_legacy: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ query?: { + /** @description The type of the target history element. */ + type?: components["schemas"]["HistoryContentType"]; + /** @description This value can be used to broadly restrict the magnitude of the number of elements returned via the API for large collections. The number of actual elements returned may be "a bit" more than this number or "a lot" less - varying on the depth of nesting, balance of nesting at each level, and size of target collection. The consumer of this API should not expect a stable number or pre-calculable number of elements to be produced given this parameter - the only promise is that this API will not respond with an order of magnitude more elements estimated with this value. The UI uses this parameter to fetch a "balanced" concept of the "start" of large collections at every depth of the collection. */ + fuzzy_count?: number | null; + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + /** @description The encoded database identifier of the History. */ history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_histories__history_id__put: { - /** Updates the values for the history with the given ID. */ + history_contents__update_legacy: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ query?: { + /** @description The type of the target history element. */ + type?: components["schemas"]["HistoryContentType"]; + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": Record; + "application/json": components["schemas"]["UpdateHistoryContentsPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_histories__history_id__delete: { - /** Marks the history with the given ID as deleted. */ + history_contents__delete_legacy: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ query?: { - purge?: boolean; + /** @description The type of the target history element. */ + type?: components["schemas"]["HistoryContentType"]; + /** + * @deprecated + * @description Whether to remove from disk the target HDA or child HDAs of the target HDCA. + */ + purge?: boolean | null; + /** + * @deprecated + * @description When deleting a dataset collection, whether to also delete containing datasets. + */ + recursive?: boolean | null; + /** + * @deprecated + * @description Whether to stop the creating job if all outputs of the job have been deleted. + */ + stop_job?: boolean | null; + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; }; + cookie?: never; }; requestBody?: { content: { - "application/json": components["schemas"]["DeleteHistoryPayload"] | null; + "application/json": components["schemas"]["DeleteHistoryContentPayload"]; }; }; responses: { - /** @description Successful Response */ + /** @description Request has been executed. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Request accepted, processing will finish later. */ + 202: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - archive_history_api_histories__history_id__archive_post: { - /** - * Archive a history. - * @description Marks the given history as 'archived' and returns the history. - * - * Archiving a history will remove it from the list of active histories of the user but it will still be - * accessible via the `/api/histories/{id}` or the `/api/histories/archived` endpoints. - * - * Associating an export record: - * - * - Optionally, an export record (containing information about a recent snapshot of the history) can be associated with the - * archived history by providing an `archive_export_id` in the payload. The export record must belong to the history and - * must be in the ready state. - * - When associating an export record, the history can be purged after it has been archived using the `purge_history` flag. - * - * If the history is already archived, this endpoint will return a 409 Conflict error, indicating that the history is already archived. - * If the history was not purged after it was archived, you can restore it using the `/api/histories/{id}/archive/restore` endpoint. - */ + validate_api_histories__history_id__contents__id__validate_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; }; + cookie?: never; }; - requestBody?: { - content: { - "application/json": components["schemas"]["ArchiveHistoryRequestPayload"] | null; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["ArchivedHistorySummary"] - | components["schemas"]["ArchivedHistoryDetailed"] - | Record; + "application/json": Record; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - restore_archived_history_api_histories__history_id__archive_restore_put: { - /** - * Restore an archived history. - * @description Restores an archived history and returns it. - * - * Restoring an archived history will add it back to the list of active histories of the user (unless it was purged). - * - * **Warning**: Please note that histories that are associated with an archive export might be purged after export, so un-archiving them - * will not restore the datasets that were in the history before it was archived. You will need to import back the archive export - * record to restore the history and its datasets as a new copy. See `/api/histories/from_store_async` for more information. - */ + history_contents__index_typed: { parameters: { - /** @description If true, the history will be un-archived even if it has an associated archive export record and was purged. */ query?: { - force?: boolean | null; + /** @description Only `dev` value is allowed. Set it to use the latest version of this endpoint. **All parameters marked as `deprecated` will be ignored when this parameter is set.** */ + v?: string | null; + /** + * @deprecated + * @description Legacy name for the `dataset_details` parameter. + */ + details?: string | null; + /** + * @deprecated + * @description A comma-separated list of encoded `HDA/HDCA` IDs. If this list is provided, only information about the specific datasets will be returned. Also, setting this value will return `all` details of the content item. + */ + ids?: string | null; + /** + * @deprecated + * @description A list or comma-separated list of kinds of contents to return (currently just `dataset` and `dataset_collection` are available). If unset, all types will be returned. + */ + types?: string[] | null; + /** + * @deprecated + * @description Whether to return deleted or undeleted datasets only. Leave unset for both. + */ + deleted?: boolean | null; + /** + * @deprecated + * @description Whether to return visible or hidden datasets only. Leave unset for both. + */ + visible?: boolean | null; + /** @description Whether to return only shareable or not shareable datasets. Leave unset for both. */ + shareable?: boolean | null; + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ + q?: string[] | null; + /** @description The value to filter by. */ + qv?: string[] | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ + order?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description Accept header to determine the response format. Default is 'application/json'. */ + accept?: "application/json" | "application/vnd.galaxy.history.contents.stats+json"; + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The contents of the history that match the query. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["CustomHistoryView"] - | components["schemas"]["HistoryDetailed"] - | components["schemas"]["HistorySummary"]; + "application/json": components["schemas"]["HistoryContentsResult"]; + "application/vnd.galaxy.history.contents.stats+json": components["schemas"]["HistoryContentsWithStatsResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - citations_api_histories__history_id__citations_get: { - /** Return all the citations for the tools used to produce the datasets in the history. */ + history_contents__create_typed: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateHistoryContentPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record[]; + "application/json": + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"] + | ( + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__index: { - /** - * Returns the contents of the given history. - * @description Return a list of `HDA`/`HDCA` data for the history with the given ``ID``. - * - * - The contents can be filtered and queried using the appropriate parameters. - * - The amount of information returned for each item can be customized. - * - * **Note**: Anonymous users are allowed to get their current history contents. - */ + history_contents__show: { parameters: { - /** @description Only `dev` value is allowed. Set it to use the latest version of this endpoint. **All parameters marked as `deprecated` will be ignored when this parameter is set.** */ - /** - * @deprecated - * @description Legacy name for the `dataset_details` parameter. - */ - /** - * @deprecated - * @description A comma-separated list of encoded `HDA/HDCA` IDs. If this list is provided, only information about the specific datasets will be returned. Also, setting this value will return `all` details of the content item. - */ - /** - * @deprecated - * @description A list or comma-separated list of kinds of contents to return (currently just `dataset` and `dataset_collection` are available). If unset, all types will be returned. - */ - /** - * @deprecated - * @description Whether to return deleted or undeleted datasets only. Leave unset for both. - */ - /** - * @deprecated - * @description Whether to return visible or hidden datasets only. Leave unset for both. - */ - /** @description Whether to return only shareable or not shareable datasets. Leave unset for both. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ query?: { - v?: string | null; - details?: string | null; - ids?: string | null; - types?: string[] | null; - deleted?: boolean | null; - visible?: boolean | null; - shareable?: boolean | null; + /** @description This value can be used to broadly restrict the magnitude of the number of elements returned via the API for large collections. The number of actual elements returned may be "a bit" more than this number or "a lot" less - varying on the depth of nesting, balance of nesting at each level, and size of target collection. The consumer of this API should not expect a stable number or pre-calculable number of elements to be produced given this parameter - the only promise is that this API will not respond with an order of magnitude more elements estimated with this value. The UI uses this parameter to fetch a "balanced" concept of the "start" of large collections at every depth of the collection. */ + fuzzy_count?: number | null; + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ keys?: string | null; - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The contents of the history that match the query. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HistoryContentsResult"]; - "application/vnd.galaxy.history.contents.stats+json": components["schemas"]["HistoryContentsWithStatsResult"]; + "application/json": + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_batch_api_histories__history_id__contents_put: { - /** - * Batch update specific properties of a set items contained in the given History. - * @description Batch update specific properties of a set items contained in the given History. - * - * If you provide an invalid/unknown property key the request will not fail, but no changes - * will be made to the items. - */ + history_contents__update_typed: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ query?: { + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["UpdateHistoryContentsBatchPayload"]; + "application/json": components["schemas"]["UpdateHistoryContentsPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HistoryContentsResult"]; + "application/json": + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__create: { - /** - * Create a new `HDA` or `HDCA` in the given History. - * @deprecated - * @description Create a new `HDA` or `HDCA` in the given History. - */ + history_contents__delete_typed: { parameters: { - /** @description The type of the target history element. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ query?: { - type?: components["schemas"]["HistoryContentType"] | null; + /** + * @deprecated + * @description Whether to remove from disk the target HDA or child HDAs of the target HDCA. + */ + purge?: boolean | null; + /** + * @deprecated + * @description When deleting a dataset collection, whether to also delete containing datasets. + */ + recursive?: boolean | null; + /** + * @deprecated + * @description Whether to stop the creating job if all outputs of the job have been deleted. + */ + stop_job?: boolean | null; + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ keys?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; - requestBody: { + requestBody?: { content: { - "application/json": components["schemas"]["CreateHistoryContentPayload"]; + "application/json": components["schemas"]["DeleteHistoryContentPayload"]; }; }; responses: { - /** @description Successful Response */ + /** @description Request has been executed. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"] - | ( - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"] - )[]; + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Request accepted, processing will finish later. */ + 202: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__archive: { - /** - * Build and return a compressed archive of the selected history contents. - * @description Build and return a compressed archive of the selected history contents. - * - * **Note**: this is a volatile endpoint and settings and behavior may change. - */ + show_jobs_summary_api_histories__history_id__contents__type_s__id__jobs_summary_get: { parameters: { - /** @description The name that the Archive will have (defaults to history name). */ - /** @description Whether to return the archive and file paths only (as JSON) and not an actual archive file. */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - query?: { - filename?: string | null; - dry_run?: boolean | null; - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": + | components["schemas"]["JobStateSummary"] + | components["schemas"]["ImplicitCollectionJobsStateSummary"] + | components["schemas"]["WorkflowInvocationStateSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__archive_named: { - /** - * Build and return a compressed archive of the selected history contents. - * @description Build and return a compressed archive of the selected history contents. - * - * **Note**: this is a volatile endpoint and settings and behavior may change. - */ + prepare_store_download_api_histories__history_id__contents__type_s__id__prepare_store_download_post: { parameters: { - /** @description Whether to return the archive and file paths only (as JSON) and not an actual archive file. */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - query?: { - dry_run?: boolean | null; - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The name that the Archive will have (defaults to history name). */ - /** - * @deprecated - * @description Output format of the archive. - */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; - filename: string; - format: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["StoreExportPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["AsyncFile"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - bulk_operation_api_histories__history_id__contents_bulk_put: { - /** - * Executes an operation on a set of items contained in the given History. - * @description Executes an operation on a set of items contained in the given History. - * - * The items to be processed can be explicitly set or determined by a dynamic query. - */ + write_store_api_histories__history_id__contents__type_s__id__write_store_post: { parameters: { - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - query?: { - q?: string[] | null; - qv?: string[] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; + /** @description The ID of the item (`HDA`/`HDCA`) */ + id: string; + /** @description The type of the target history element. */ + type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["HistoryContentBulkOperationPayload"]; + "application/json": components["schemas"]["WriteStoreToPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HistoryContentBulkOperationResult"]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__download_collection: { - /** - * Download the content of a dataset collection as a `zip` archive. - * @description Download the content of a history dataset collection as a `zip` archive - * while maintaining approximate collection structure. - */ + create_from_store_api_histories__history_id__contents_from_store_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description View to be passed to the serializer */ + view?: string | null; + /** @description Comma-separated list of keys to be passed to the serializer */ + keys?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the `HDCA`. */ - /** @description The encoded database identifier of the History. */ path: { - id: string; - history_id: string | null; + /** @description The encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateHistoryContentFromStore"]; }; }; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": ( + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDAInaccessible"] + | components["schemas"]["HDCACustom"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - materialize_dataset_api_histories__history_id__contents_datasets__id__materialize_post: { - /** Materialize a deferred dataset into real, usable dataset. */ + get_custom_builds_metadata_api_histories__history_id__custom_builds_metadata_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; - id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["CustomBuildsMetadataResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_permissions_api_histories__history_id__contents__dataset_id__permissions_put: { - /** - * Set permissions of the given history dataset to the given role ids. - * @description Set permissions of the given history dataset to the given role ids. - */ + disable_link_access_api_histories__history_id__disable_link_access_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; - dataset_id: string; - }; - }; - requestBody: { - content: { - "application/json": Record; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetAssociationRoles"]; + "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents_display_api_histories__history_id__contents__history_content_id__display_get: { - /** - * Displays (preview) or downloads dataset content. - * @description Streams the dataset for download or the contents preview to be displayed in a browser. - */ + enable_link_access_api_histories__history_id__enable_link_access_put: { parameters: { - /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ - /** @description If non-null, get the specified filename from the extra files for this dataset. */ - /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ - /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ - /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ - /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ - query?: { - preview?: boolean; - filename?: string | null; - to_ext?: string | null; - raw?: boolean; - offset?: number | null; - ck_size?: number | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - history_content_id: string; - history_id: string | null; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["SharingStatus"]; }; }; - }; - }; - history_contents_display_api_histories__history_id__contents__history_content_id__display_head: { - /** - * Check if dataset content can be previewed or downloaded. - * @description Streams the dataset for download or the contents preview to be displayed in a browser. - */ + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + get_history_exports_api_histories__history_id__exports_get: { parameters: { - /** @description Whether to get preview contents to be directly displayed on the web. If preview is False (default) the contents will be downloaded instead. */ - /** @description If non-null, get the specified filename from the extra files for this dataset. */ - /** @description The file extension when downloading the display data. Use the value `data` to let the server infer it from the data type. */ - /** @description The query parameter 'raw' should be considered experimental and may be dropped at some point in the future without warning. Generally, data should be processed by its datatype prior to display. */ - /** @description Set this for datatypes that allow chunked display through the display_data method to enable chunking. This specifies a byte offset into the target dataset's display. */ - /** @description If offset is set, this recommends 'how large' the next chunk should be. This is not respected or interpreted uniformly and should be interpreted as a very loose recommendation. Different datatypes interpret 'largeness' differently - for bam datasets this is a number of lines whereas for tabular datatypes this is interpreted as a number of bytes. */ query?: { - preview?: boolean; - filename?: string | null; - to_ext?: string | null; - raw?: boolean; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ offset?: number | null; - ck_size?: number | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description Accept header to determine the response format. Default is 'application/json'. */ + accept?: "application/json" | "application/vnd.galaxy.task.export+json"; + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the History Dataset. */ path: { - history_content_id: string; - history_id: string | null; + /** @description The encoded database identifier of the History. */ + history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A list of history exports */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["JobExportHistoryArchiveListResponse"]; + "application/vnd.galaxy.task.export+json": components["schemas"]["ExportTaskListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - extra_files_history_api_histories__history_id__contents__history_content_id__extra_files_get: { - /** Get the list of extra files/directories associated with a dataset. */ + archive_export_api_histories__history_id__exports_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the History Dataset. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; - history_content_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ExportHistoryArchivePayload"] | null; }; }; responses: { - /** @description Successful Response */ + /** @description Object containing url to fetch export from. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DatasetExtraFiles"]; + "application/json": + | components["schemas"]["JobExportHistoryArchiveModel"] + | components["schemas"]["JobIdResponse"]; + }; + }; + /** @description The exported archive file is not ready yet. */ + 202: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__get_metadata_file: { - /** Returns the metadata file associated with this history item. */ + history_archive_download_api_histories__history_id__exports__jeha_id__get: { parameters: { - /** @description The name of the metadata file to retrieve. */ - query: { - metadata_file: string; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the History Dataset. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; - history_content_id: string; + /** @description The ID of the specific Job Export History Association or `latest` (default) to download the last generated archive. */ + jeha_id: string | "latest"; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + /** @description The archive file containing the History. */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_histories__history_id__contents__history_content_id__tags_get: { - /** Show tags based on history_content_id */ + index_jobs_summary_api_histories__history_id__jobs_summary_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description A comma-separated list of encoded ids of job summary objects to return - if `ids` is specified types must also be specified and have same length. */ + ids?: string | null; + /** @description A comma-separated list of type of object represented by elements in the `ids` array - any of `Job`, `ImplicitCollectionJob`, or `WorkflowInvocation`. */ + types?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_content_id: string; + /** @description The encoded database identifier of the History. */ history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsListResponse"]; + "application/json": ( + | components["schemas"]["JobStateSummary"] + | components["schemas"]["ImplicitCollectionJobsStateSummary"] + | components["schemas"]["WorkflowInvocationStateSummary"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_histories__history_id__contents__history_content_id__tags__tag_name__get: { - /** Show tag based on history_content_id */ + materialize_to_history_api_histories__history_id__materialize_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_content_id: string; - tag_name: string; + /** @description The encoded database identifier of the History. */ history_id: string; }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["MaterializeDatasetInstanceAPIRequest"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsResponse"]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_histories__history_id__contents__history_content_id__tags__tag_name__put: { - /** Update tag based on history_content_id */ + prepare_store_download_api_histories__history_id__prepare_store_download_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_content_id: string; - tag_name: string; + /** @description The encoded database identifier of the History. */ history_id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["ItemTagsCreatePayload"]; + "application/json": components["schemas"]["StoreExportPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsResponse"]; + "application/json": components["schemas"]["AsyncFile"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_histories__history_id__contents__history_content_id__tags__tag_name__post: { - /** Create tag based on history_content_id */ + publish_api_histories__history_id__publish_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_content_id: string; - tag_name: string; + /** @description The encoded database identifier of the History. */ history_id: string; }; + cookie?: never; }; - requestBody?: { - content: { - "application/json": components["schemas"]["ItemTagsCreatePayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsResponse"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_histories__history_id__contents__history_content_id__tags__tag_name__delete: { - /** Delete tag based on history_content_id */ + share_with_users_api_histories__history_id__share_with_users_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_content_id: string; - tag_name: string; + /** @description The encoded database identifier of the History. */ history_id: string; }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ShareWithPayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": boolean; + "application/json": components["schemas"]["ShareHistoryWithStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__show_legacy: { - /** - * Return detailed information about an HDA within a history. ``/api/histories/{history_id}/contents/{type}s/{id}`` should be used instead. - * @deprecated - * @description Return detailed information about an `HDA` or `HDCA` within a history. - * - * **Note**: Anonymous users are allowed to get their current history contents. - */ + sharing_api_histories__history_id__sharing_get: { parameters: { - /** @description The type of the target history element. */ - /** @description This value can be used to broadly restrict the magnitude of the number of elements returned via the API for large collections. The number of actual elements returned may be "a bit" more than this number or "a lot" less - varying on the depth of nesting, balance of nesting at each level, and size of target collection. The consumer of this API should not expect a stable number or pre-calculable number of elements to be produced given this parameter - the only promise is that this API will not respond with an order of magnitude more elements estimated with this value. The UI uses this parameter to fetch a "balanced" concept of the "start" of large collections at every depth of the collection. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - type?: components["schemas"]["HistoryContentType"]; - fuzzy_count?: number | null; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the item (`HDA`/`HDCA`) */ - /** @description The encoded database identifier of the History. */ path: { - id: string; + /** @description The encoded database identifier of the History. */ history_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__update_legacy: { - /** - * Updates the values for the history content item with the given ``ID`` and query specified type. ``/api/histories/{history_id}/contents/{type}s/{id}`` should be used instead. - * @deprecated - * @description Updates the values for the history content item with the given ``ID``. - */ + set_slug_api_histories__history_id__slug_put: { parameters: { - /** @description The type of the target history element. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - type?: components["schemas"]["HistoryContentType"]; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; - id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["UpdateHistoryContentsPayload"]; + "application/json": components["schemas"]["SetSlugPayload"]; }; }; responses: { /** @description Successful Response */ - 200: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__delete_legacy: { - /** - * Delete the history dataset with the given ``ID``. - * @description Delete the history content with the given ``ID`` and query specified type (defaults to dataset). - * - * **Note**: Currently does not stop any active jobs for which this dataset is an output. - */ + index_api_histories__history_id__tags_get: { parameters: { - /** @description The type of the target history element. */ - /** - * @deprecated - * @description Whether to remove from disk the target HDA or child HDAs of the target HDCA. - */ - /** - * @deprecated - * @description When deleting a dataset collection, whether to also delete containing datasets. - */ - /** - * @deprecated - * @description Whether to stop the creating job if all outputs of the job have been deleted. - */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - type?: components["schemas"]["HistoryContentType"]; - purge?: boolean | null; - recursive?: boolean | null; - stop_job?: boolean | null; - view?: string | null; - keys?: string | null; + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + history_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ItemTagsListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + }; + }; + show_api_histories__history_id__tags__tag_name__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ path: { history_id: string; - id: string; - }; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["DeleteHistoryContentPayload"]; + tag_name: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Request has been executed. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DeleteHistoryContentResult"]; + "application/json": components["schemas"]["ItemTagsResponse"]; }; }; - /** @description Request accepted, processing will finish later. */ - 202: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DeleteHistoryContentResult"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - validate_api_histories__history_id__contents__id__validate_put: { - /** - * Validates the metadata associated with a dataset within a History. - * @description Validates the metadata associated with a dataset within a History. - */ + update_api_histories__history_id__tags__tag_name__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ path: { history_id: string; - id: string; + tag_name: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ItemTagsCreatePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["ItemTagsResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__index_typed: { - /** - * Returns the contents of the given history filtered by type. - * @description Return a list of either `HDA`/`HDCA` data for the history with the given ``ID``. - * - * - The contents can be filtered and queried using the appropriate parameters. - * - The amount of information returned for each item can be customized. - * - * **Note**: Anonymous users are allowed to get their current history contents. - */ + create_api_histories__history_id__tags__tag_name__post: { parameters: { - /** @description Only `dev` value is allowed. Set it to use the latest version of this endpoint. **All parameters marked as `deprecated` will be ignored when this parameter is set.** */ - /** - * @deprecated - * @description Legacy name for the `dataset_details` parameter. - */ - /** - * @deprecated - * @description A comma-separated list of encoded `HDA/HDCA` IDs. If this list is provided, only information about the specific datasets will be returned. Also, setting this value will return `all` details of the content item. - */ - /** - * @deprecated - * @description A list or comma-separated list of kinds of contents to return (currently just `dataset` and `dataset_collection` are available). If unset, all types will be returned. - */ - /** - * @deprecated - * @description Whether to return deleted or undeleted datasets only. Leave unset for both. - */ - /** - * @deprecated - * @description Whether to return visible or hidden datasets only. Leave unset for both. - */ - /** @description Whether to return only shareable or not shareable datasets. Leave unset for both. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - /** @description Generally a property name to filter by followed by an (often optional) hyphen and operator string. */ - /** @description The value to filter by. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed (optionally) by '-asc' or '-dsc' for ascending and descending order respectively. Orders can be stacked as a comma-separated list of values. */ - query?: { - v?: string | null; - details?: string | null; - ids?: string | null; - types?: string[] | null; - deleted?: boolean | null; - visible?: boolean | null; - shareable?: boolean | null; - view?: string | null; - keys?: string | null; - q?: string[] | null; - qv?: string[] | null; - offset?: number | null; - limit?: number | null; - order?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The type of the target history element. */ path: { history_id: string; - type: components["schemas"]["HistoryContentType"]; + tag_name: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ItemTagsCreatePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HistoryContentsResult"] - | components["schemas"]["HistoryContentsWithStatsResult"]; + "application/json": components["schemas"]["ItemTagsResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__create_typed: { - /** - * Create a new `HDA` or `HDCA` in the given History. - * @description Create a new `HDA` or `HDCA` in the given History. - */ + delete_api_histories__history_id__tags__tag_name__delete: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The type of the target history element. */ path: { history_id: string; - type: components["schemas"]["HistoryContentType"]; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateHistoryContentPayload"]; + tag_name: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"] - | ( - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"] - )[]; + "application/json": boolean; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__show: { - /** - * Return detailed information about a specific HDA or HDCA with the given `ID` within a history. - * @description Return detailed information about an `HDA` or `HDCA` within a history. - * - * **Note**: Anonymous users are allowed to get their current history contents. - */ + unpublish_api_histories__history_id__unpublish_put: { parameters: { - /** @description This value can be used to broadly restrict the magnitude of the number of elements returned via the API for large collections. The number of actual elements returned may be "a bit" more than this number or "a lot" less - varying on the depth of nesting, balance of nesting at each level, and size of target collection. The consumer of this API should not expect a stable number or pre-calculable number of elements to be produced given this parameter - the only promise is that this API will not respond with an order of magnitude more elements estimated with this value. The UI uses this parameter to fetch a "balanced" concept of the "start" of large collections at every depth of the collection. */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - fuzzy_count?: number | null; - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the item (`HDA`/`HDCA`) */ - /** @description The encoded database identifier of the History. */ - /** @description The type of the target history element. */ path: { - id: string; + /** @description The encoded database identifier of the History. */ history_id: string; - type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__update_typed: { - /** - * Updates the values for the history content item with the given ``ID`` and path specified type. - * @description Updates the values for the history content item with the given ``ID``. - */ + write_store_api_histories__history_id__write_store_post: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ - query?: { - view?: string | null; - keys?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ - /** @description The type of the target history element. */ path: { + /** @description The encoded database identifier of the History. */ history_id: string; - id: string; - type: components["schemas"]["HistoryContentType"]; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["UpdateHistoryContentsPayload"]; + "application/json": components["schemas"]["WriteStoreToPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_contents__delete_typed: { - /** - * Delete the history content with the given ``ID`` and path specified type. - * @description Delete the history content with the given ``ID`` and path specified type. - * - * **Note**: Currently does not stop any active jobs for which this dataset is an output. - */ + index_invocations_api_invocations_get: { parameters: { - /** - * @deprecated - * @description Whether to remove from disk the target HDA or child HDAs of the target HDCA. - */ - /** - * @deprecated - * @description When deleting a dataset collection, whether to also delete containing datasets. - */ - /** - * @deprecated - * @description Whether to stop the creating job if all outputs of the job have been deleted. - */ - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ query?: { - purge?: boolean | null; - recursive?: boolean | null; - stop_job?: boolean | null; + /** @description Return only invocations for this Workflow ID */ + workflow_id?: string | null; + /** @description Return only invocations for this History ID */ + history_id?: string | null; + /** @description Return only invocations for this Job ID */ + job_id?: string | null; + /** @description Return invocations for this User ID. */ + user_id?: string | null; + /** @description Sort Workflow Invocations by this attribute */ + sort_by?: components["schemas"]["InvocationSortByEnum"] | null; + /** @description Sort in descending order? */ + sort_desc?: boolean; + /** @description Set to false to only include terminal Invocations. */ + include_terminal?: boolean | null; + /** @description Limit the number of invocations to return. */ + limit?: number | null; + /** @description Number of invocations to skip. */ + offset?: number | null; + /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ + instance?: boolean | null; + /** @description View to be passed to the serializer */ view?: string | null; - keys?: string | null; + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ + step_details?: boolean; + include_nested_invocations?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ - /** @description The type of the target history element. */ - path: { - history_id: string; - id: string; - type: components["schemas"]["HistoryContentType"]; - }; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["DeleteHistoryContentPayload"]; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Request has been executed. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DeleteHistoryContentResult"]; + "application/json": components["schemas"]["WorkflowInvocationResponse"][]; }; }; - /** @description Request accepted, processing will finish later. */ - 202: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DeleteHistoryContentResult"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_jobs_summary_api_histories__history_id__contents__type_s__id__jobs_summary_get: { - /** - * Return detailed information about an `HDA` or `HDCAs` jobs. - * @description Return detailed information about an `HDA` or `HDCAs` jobs. - * - * **Warning**: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. - */ + create_invocations_from_store_api_invocations_from_store_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ - /** @description The type of the target history element. */ - path: { - history_id: string; - id: string; - type: components["schemas"]["HistoryContentType"]; - }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateInvocationsFromStorePayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["JobStateSummary"] - | components["schemas"]["ImplicitCollectionJobsStateSummary"] - | components["schemas"]["WorkflowInvocationStateSummary"]; + "application/json": components["schemas"]["WorkflowInvocationResponse"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - prepare_store_download_api_histories__history_id__contents__type_s__id__prepare_store_download_post: { - /** Prepare a dataset or dataset collection for export-style download. */ + step_api_invocations_steps__step_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ - /** @description The type of the target history element. */ path: { - history_id: string; - id: string; - type: components["schemas"]["HistoryContentType"]; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["StoreExportPayload"]; + /** @description The encoded database identifier of the WorkflowInvocationStep. */ + step_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncFile"]; + "application/json": components["schemas"]["InvocationStep"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - write_store_api_histories__history_id__contents__type_s__id__write_store_post: { - /** Prepare a dataset or dataset collection for export-style download and write to supplied URI. */ + show_invocation_api_invocations__invocation_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ + step_details?: boolean; + /** @description Populate the invocation step state with the job state instead of the invocation step state. + * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. + * Partially scheduled steps may provide incomplete information and the listed steps outputs + * are not the mapped over step outputs but the individual job outputs. */ + legacy_job_state?: boolean; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the item (`HDA`/`HDCA`) */ - /** @description The type of the target history element. */ path: { - history_id: string; - id: string; - type: components["schemas"]["HistoryContentType"]; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["WriteStoreToPayload"]; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["WorkflowInvocationResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_from_store_api_histories__history_id__contents_from_store_post: { - /** - * Create contents from store. - * @description Create history contents from model store. - * Input can be a tarfile created with build_objects script distributed - * with galaxy-data, from an exported history with files stripped out, - * or hand-crafted JSON dictionary. - */ + cancel_invocation_api_invocations__invocation_id__delete: { parameters: { - /** @description View to be passed to the serializer */ - /** @description Comma-separated list of keys to be passed to the serializer */ query?: { - view?: string | null; - keys?: string | null; + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ + step_details?: boolean; + /** @description Populate the invocation step state with the job state instead of the invocation step state. + * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. + * Partially scheduled steps may provide incomplete information and the listed steps outputs + * are not the mapped over step outputs but the individual job outputs. */ + legacy_job_state?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateHistoryContentFromStore"]; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["HDACustom"] - | components["schemas"]["HDADetailed"] - | components["schemas"]["HDASummary"] - | components["schemas"]["HDAInaccessible"] - | components["schemas"]["HDCADetailed"] - | components["schemas"]["HDCASummary"] - )[]; + "application/json": components["schemas"]["WorkflowInvocationResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_custom_builds_metadata_api_histories__history_id__custom_builds_metadata_get: { - /** Returns meta data for custom builds. */ + invocation_jobs_summary_api_invocations__invocation_id__jobs_summary_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CustomBuildsMetadataResponse"]; + "application/json": components["schemas"]["InvocationJobsResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - disable_link_access_api_histories__history_id__disable_link_access_put: { - /** - * Makes this item inaccessible by a URL link. - * @description Makes this item inaccessible by a URL link and return the current sharing status. - */ + get_invocation_metrics_api_invocations__invocation_id__metrics_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["WorkflowJobMetric"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - enable_link_access_api_histories__history_id__enable_link_access_put: { - /** - * Makes this item accessible by a URL link. - * @description Makes this item accessible by a URL link and return the current sharing status. - */ + prepare_store_download_api_invocations__invocation_id__prepare_store_download_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PrepareStoreDownloadPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["AsyncFile"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_history_exports_api_histories__history_id__exports_get: { - /** - * Get previous history exports. - * @description By default the legacy job-based history exports (jeha) are returned. - * - * Change the `accept` content type header to return the new task-based history exports. - */ + show_invocation_report_api_invocations__invocation_id__report_get: { parameters: { - /** @description The maximum number of items to return. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - query?: { - limit?: number | null; - offset?: number | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description A list of history exports */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobExportHistoryArchiveListResponse"]; - "application/vnd.galaxy.task.export+json": components["schemas"]["ExportTaskListResponse"]; + "application/json": components["schemas"]["InvocationReport"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - archive_export_api_histories__history_id__exports_put: { - /** - * Start job (if needed) to create history export for corresponding history. - * @deprecated - * @description This will start a job to create a history export archive. - * - * Calling this endpoint multiple times will return the 202 status code until the archive - * has been completely generated and is ready to download. When ready, it will return - * the 200 status code along with the download link information. - * - * If the history will be exported to a `directory_uri`, instead of returning the download - * link information, the Job ID will be returned so it can be queried to determine when - * the file has been written. - * - * **Deprecation notice**: Please use `/api/histories/{id}/prepare_store_download` or - * `/api/histories/{id}/write_store` instead. - */ + show_invocation_report_pdf_api_invocations__invocation_id__report_pdf_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; - }; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["ExportHistoryArchivePayload"] | null; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Object containing url to fetch export from. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["JobExportHistoryArchiveModel"] - | components["schemas"]["JobIdResponse"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description The exported archive file is not ready yet. */ - 202: never; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - history_archive_download_api_histories__history_id__exports__jeha_id__get: { - /** - * If ready and available, return raw contents of exported history as a downloadable archive. - * @deprecated - * @description See ``PUT /api/histories/{id}/exports`` to initiate the creation - * of the history export - when ready, that route will return 200 status - * code (instead of 202) and this route can be used to download the archive. - * - * **Deprecation notice**: Please use `/api/histories/{id}/prepare_store_download` or - * `/api/histories/{id}/write_store` instead. - */ + invocation_as_request_api_invocations__invocation_id__request_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - /** @description The ID of the specific Job Export History Association or `latest` (default) to download the last generated archive. */ path: { - history_id: string; - jeha_id: string | "latest"; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The archive file containing the History. */ - 200: never; - /** @description Validation Error */ - 422: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WorkflowInvocationRequestModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_jobs_summary_api_histories__history_id__jobs_summary_get: { - /** - * Return job state summary info for jobs, implicit groups jobs for collections or workflow invocations. - * @description Return job state summary info for jobs, implicit groups jobs for collections or workflow invocations. - * - * **Warning**: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. - */ + invocation_step_jobs_summary_api_invocations__invocation_id__step_jobs_summary_get: { parameters: { - /** @description A comma-separated list of encoded ids of job summary objects to return - if `ids` is specified types must also be specified and have same length. */ - /** @description A comma-separated list of type of object represented by elements in the `ids` array - any of `Job`, `ImplicitCollectionJob`, or `WorkflowInvocation`. */ - query?: { - ids?: string | null; - types?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": ( - | components["schemas"]["JobStateSummary"] - | components["schemas"]["ImplicitCollectionJobsStateSummary"] - | components["schemas"]["WorkflowInvocationStateSummary"] + | components["schemas"]["InvocationStepJobsResponseStepModel"] + | components["schemas"]["InvocationStepJobsResponseJobModel"] + | components["schemas"]["InvocationStepJobsResponseCollectionJobsModel"] )[]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - materialize_to_history_api_histories__history_id__materialize_post: { - /** Materialize a deferred library or HDA dataset into real, usable dataset in specified history. */ + invocation_step_api_invocations__invocation_id__steps__step_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["MaterializeDatasetInstanceAPIRequest"]; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; + /** @description The encoded database identifier of the WorkflowInvocationStep. */ + step_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["InvocationStep"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - prepare_store_download_api_histories__history_id__prepare_store_download_post: { - /** Return a short term storage token to monitor download of the history. */ + update_invocation_step_api_invocations__invocation_id__steps__step_id__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; + /** @description The encoded database identifier of the WorkflowInvocationStep. */ + step_id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["StoreExportPayload"]; + "application/json": components["schemas"]["InvocationUpdatePayload"]; }; }; responses: { /** @description Successful Response */ 200: { - content: { - "application/json": components["schemas"]["AsyncFile"]; + headers: { + [name: string]: unknown; }; - }; - /** @description Validation Error */ - 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["InvocationStep"]; }; }; - }; - }; - publish_api_histories__history_id__publish_put: { - /** - * Makes this item public and accessible by a URL link. - * @description Makes this item publicly available by a URL link and return the current sharing status. - */ - parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The encoded database identifier of the History. */ - path: { - history_id: string; - }; - }; - responses: { - /** @description Successful Response */ - 200: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - share_with_users_api_histories__history_id__share_with_users_put: { - /** - * Share this item with specific users. - * @description Shares this item with specific users and return the current sharing status. - */ + write_store_api_invocations__invocation_id__write_store_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + /** @description The encoded database identifier of the Invocation. */ + invocation_id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["ShareWithPayload"]; + "application/json": components["schemas"]["WriteInvocationStoreToPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ShareHistoryWithStatus"]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - sharing_api_histories__history_id__sharing_get: { - /** - * Get the current sharing status of the given item. - * @description Return the sharing status of the item. - */ + job_lock_status_api_job_lock_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - path: { - history_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["JobLock"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_slug_api_histories__history_id__slug_put: { - /** - * Set a new slug for this shared item. - * @description Sets a new slug to access this item by URL. The new slug must be unique. - */ + update_job_lock_api_job_lock_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ - path: { - history_id: string; - }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["SetSlugPayload"]; + "application/json": components["schemas"]["JobLock"]; }; }; responses: { /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["JobLock"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_histories__history_id__tags_get: { - /** Show tags based on history_id */ + index_api_jobs_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description If true, and requester is an admin, will return external job id and user email. This is only available to admins. */ + user_details?: boolean; + /** @description an encoded user id to restrict query to, must be own id if not admin user */ + user_id?: string | null; + /** @description Determines columns to return. Defaults to 'collection'. */ + view?: components["schemas"]["JobIndexViewEnum"]; + /** @description Limit listing of jobs to those that are updated after specified date (e.g. '2014-01-01') */ + date_range_min?: string | null; + /** @description Limit listing of jobs to those that are updated before specified date (e.g. '2014-01-01') */ + date_range_max?: string | null; + /** @description Limit listing of jobs to those that match the history_id. If none, jobs from any history may be returned. */ + history_id?: string | null; + /** @description Limit listing of jobs to those that match the specified workflow ID. If none, jobs from any workflow (or from no workflows) may be returned. */ + workflow_id?: string | null; + /** @description Limit listing of jobs to those that match the specified workflow invocation ID. If none, jobs from any workflow invocation (or from no workflows) may be returned. */ + invocation_id?: string | null; + /** @description Limit listing of jobs to those that match the specified implicit collection job ID. If none, jobs from any implicit collection execution (or from no implicit collection execution) may be returned. */ + implicit_collection_jobs_id?: string | null; + /** @description Sort results by specified field. */ + order_by?: components["schemas"]["JobIndexSortByEnum"]; + /** @description A mix of free text and GitHub-style tags used to filter the index operation. + * + * ## Query Structure + * + * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form + * `:` or `:''`. The tag name + * *generally* (but not exclusively) corresponds to the name of an attribute on the model + * being indexed (i.e. a column in the database). + * + * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, + * generally a partial match will be used to filter the query (i.e. in terms of the implementation + * this means the database operation `ILIKE` will typically be used). + * + * Once the tagged filters are extracted from the search query, the remaining text is just + * used to search various documented attributes of the object. + * + * ## GitHub-style Tags Available + * + * `user` + * : The user email of the user that executed the Job. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) + * + * `tool_id` + * : The tool ID corresponding to the job. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) + * + * `runner` + * : The job runner name used to execute the job. (The tag `r` can be used a short hand alias for this tag to filter on this attribute.) This tag is only available for requests using admin keys and/or sessions. + * + * `handler` + * : The job handler name used to execute the job. (The tag `h` can be used a short hand alias for this tag to filter on this attribute.) This tag is only available for requests using admin keys and/or sessions. + * + * ## Free Text + * + * Free text search terms will be searched against the following attributes of the + * Jobs: `user`, `tool`, `handler`, `runner`. + * + * */ + search?: string | null; + /** @description Maximum number of jobs to return. */ + limit?: number; + /** @description Return jobs starting from this specified position. For example, if ``limit`` is set to 100 and ``offset`` to 200, jobs 200-299 will be returned. */ + offset?: number; + /** @description A list or comma-separated list of states to filter job query on. If unspecified, jobs of any state may be returned. */ + state?: string[] | null; + /** @description Limit listing of jobs to those that match one of the included tool_ids. If none, all are returned */ + tool_id?: string[] | null; + /** @description Limit listing of jobs to those that match one of the included tool ID sql-like patterns. If none, all are returned */ + tool_id_like?: string[] | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - history_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsListResponse"]; + "application/json": ( + | components["schemas"]["ShowFullJobResponse"] + | components["schemas"]["EncodedJobDetails"] + | components["schemas"]["JobSummary"] + )[]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_histories__history_id__tags__tag_name__get: { - /** Show tag based on history_id */ + search_jobs_api_jobs_search_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - history_id: string; - tag_name: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["SearchJobsPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsResponse"]; + "application/json": components["schemas"]["EncodedJobDetails"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_histories__history_id__tags__tag_name__put: { - /** Update tag based on history_id */ + show_job_api_jobs__job_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Show extra information. */ + full?: boolean | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_id: string; - tag_name: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ItemTagsCreatePayload"]; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsResponse"]; + "application/json": + | components["schemas"]["ShowFullJobResponse"] + | components["schemas"]["EncodedJobDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_histories__history_id__tags__tag_name__post: { - /** Create tag based on history_id */ + cancel_job_api_jobs__job_id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_id: string; - tag_name: string; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; requestBody?: { content: { - "application/json": components["schemas"]["ItemTagsCreatePayload"]; + "application/json": components["schemas"]["DeleteJobPayload"] | null; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ItemTagsResponse"]; + "application/json": boolean; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_histories__history_id__tags__tag_name__delete: { - /** Delete tag based on history_id */ + check_common_problems_api_jobs__job_id__common_problems_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - history_id: string; - tag_name: string; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": boolean; + "application/json": components["schemas"]["JobInputSummary"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - unpublish_api_histories__history_id__unpublish_put: { - /** - * Removes this item from the published list. - * @description Removes this item from the published list and return the current sharing status. - */ + get_console_output_api_jobs__job_id__console_output_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query: { + stdout_position: number; + stdout_length: number; + stderr_position: number; + stderr_length: number; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["JobConsoleOutput"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - write_store_api_histories__history_id__write_store_post: { - /** Prepare history for export-style download and write to supplied URI. */ + destination_params_job_api_jobs__job_id__destination_params_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the History. */ path: { - history_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["WriteStoreToPayload"]; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["JobDestinationParams"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_invocations_api_invocations_get: { - /** Get the list of a user's workflow invocations. */ - parameters?: { - /** @description Return only invocations for this Workflow ID */ - /** @description Return only invocations for this History ID */ - /** @description Return only invocations for this Job ID */ - /** @description Return invocations for this User ID. */ - /** @description Sort Workflow Invocations by this attribute */ - /** @description Sort in descending order? */ - /** @description Set to false to only include terminal Invocations. */ - /** @description Limit the number of invocations to return. */ - /** @description Number of invocations to skip. */ - /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ - /** @description View to be passed to the serializer */ - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ - query?: { - workflow_id?: string | null; - history_id?: string | null; - job_id?: string | null; - user_id?: string | null; - sort_by?: components["schemas"]["InvocationSortByEnum"] | null; - sort_desc?: boolean; - include_terminal?: boolean | null; - limit?: number | null; - offset?: number | null; - instance?: boolean | null; - view?: string | null; - step_details?: boolean; - include_nested_invocations?: boolean; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + report_error_api_jobs__job_id__error_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the job */ + job_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ReportJobErrorPayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["WorkflowInvocationResponse"][]; + "application/json": components["schemas"]["JobErrorSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_invocations_from_store_api_invocations_from_store_post: { - /** - * Create Invocations From Store - * @description Create invocation(s) from a supplied model store. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + finish_job_api_jobs__job_id__finish_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateInvocationsFromStorePayload"]; + path: { + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["WorkflowInvocationResponse"][]; + "application/json": boolean; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - step_api_invocations_steps__step_id__get: { - /** Show details of workflow invocation step. */ + get_inputs_api_jobs__job_id__inputs_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the WorkflowInvocationStep. */ path: { - step_id: string; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["InvocationStep"]; + "application/json": components["schemas"]["JobInputAssociation"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_invocation_api_invocations__invocation_id__get: { - /** Get detailed description of a workflow invocation. */ + get_metrics_api_jobs__job_id__metrics_get: { parameters: { - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ - /** - * @description Populate the invocation step state with the job state instead of the invocation step state. - * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. - * Partially scheduled steps may provide incomplete information and the listed steps outputs - * are not the mapped over step outputs but the individual job outputs. - */ query?: { - step_details?: boolean; - legacy_job_state?: boolean; + /** + * @deprecated + * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). + */ + hda_ldda?: components["schemas"]["DatasetSourceType"] | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ path: { - invocation_id: string; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["WorkflowInvocationResponse"]; + "application/json": (components["schemas"]["JobMetric"] | null)[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - cancel_invocation_api_invocations__invocation_id__delete: { - /** Cancel the specified workflow invocation. */ + get_token_api_jobs__job_id__oidc_tokens_get: { parameters: { - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ - /** - * @description Populate the invocation step state with the job state instead of the invocation step state. - * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. - * Partially scheduled steps may provide incomplete information and the listed steps outputs - * are not the mapped over step outputs but the individual job outputs. - */ - query?: { - step_details?: boolean; - legacy_job_state?: boolean; + query: { + /** @description A key used to authenticate this request as acting on behalf or a job runner for the specified job */ + job_key: string; + /** @description OIDC provider name */ + provider: string; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ path: { - invocation_id: string; + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["WorkflowInvocationResponse"]; + "text/plain": string; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "text/plain": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "text/plain": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - invocation_jobs_summary_api_invocations__invocation_id__jobs_summary_get: { - /** - * Get job state summary info aggregated across all current jobs of the workflow invocation. - * @description Warning: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. - */ + get_outputs_api_jobs__job_id__outputs_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ path: { - invocation_id: string; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["InvocationJobsResponse"]; + "application/json": components["schemas"]["JobOutputAssociation"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - prepare_store_download_api_invocations__invocation_id__prepare_store_download_post: { - /** Prepare a workflow invocation export-style download. */ + resolve_parameters_display_api_jobs__job_id__parameters_display_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** + * @deprecated + * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). + */ + hda_ldda?: components["schemas"]["DatasetSourceType"] | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ path: { - invocation_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["PrepareStoreDownloadPayload"]; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncFile"]; + "application/json": components["schemas"]["JobDisplayParametersSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_invocation_report_api_invocations__invocation_id__report_get: { - /** Get JSON summarizing invocation for reporting. */ + resume_paused_job_api_jobs__job_id__resume_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ path: { - invocation_id: string; + /** @description The ID of the job */ + job_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["InvocationReport"]; + "application/json": components["schemas"]["JobOutputAssociation"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_invocation_report_pdf_api_invocations__invocation_id__report_pdf_get: { - /** Get PDF summarizing invocation for reporting. */ + index_api_libraries_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Whether to include deleted libraries in the result. */ + deleted?: boolean | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - path: { - invocation_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LibrarySummaryList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - invocation_step_jobs_summary_api_invocations__invocation_id__step_jobs_summary_get: { - /** - * Get job state summary info aggregated per step of the workflow invocation. - * @description Warning: We allow anyone to fetch job state information about any object they - * can guess an encoded ID for - it isn't considered protected data. This keeps - * polling IDs as part of state calculation for large histories and collections as - * efficient as possible. - */ + create_api_libraries_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - path: { - invocation_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateLibraryPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["InvocationStepJobsResponseStepModel"] - | components["schemas"]["InvocationStepJobsResponseJobModel"] - | components["schemas"]["InvocationStepJobsResponseCollectionJobsModel"] - )[]; + "application/json": components["schemas"]["LibrarySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - invocation_step_api_invocations__invocation_id__steps__step_id__get: { - /** - * Show details of workflow invocation step. - * @description An alias for `GET /api/invocations/steps/{step_id}`. `invocation_id` is ignored. - */ + index_deleted_api_libraries_deleted_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the WorkflowInvocationStep. */ - path: { - invocation_id: string; - step_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["InvocationStep"]; + "application/json": components["schemas"]["LibrarySummaryList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_invocation_step_api_invocations__invocation_id__steps__step_id__put: { - /** Update state of running workflow step invocation - still very nebulous but this would be for stuff like confirming paused steps can proceed etc. */ + create_from_store_api_libraries_from_store_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the WorkflowInvocationStep. */ - path: { - invocation_id: string; - step_id: string; - }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["InvocationUpdatePayload"]; + "application/json": components["schemas"]["CreateLibrariesFromStore"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["InvocationStep"]; + "application/json": components["schemas"]["LibrarySummary"][]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - write_store_api_invocations__invocation_id__write_store_post: { - /** Prepare a workflow invocation export-style download and write to supplied URI. */ + show_api_libraries__id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ path: { - invocation_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["WriteInvocationStoreToPayload"]; + /** @description The ID of the Library. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["LibrarySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - job_lock_status_api_job_lock_get: { - /** - * Job Lock Status - * @description Get job lock status. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + delete_api_libraries__id__delete: { + parameters: { + query?: { + /** @description Whether to restore a deleted library. */ + undelete?: boolean | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the Library. */ + id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["DeleteLibraryPayload"] | null; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobLock"]; + "application/json": components["schemas"]["LibrarySummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_job_lock_api_job_lock_put: { - /** - * Update Job Lock - * @description Set job lock status. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + update_api_libraries__id__patch: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the Library. */ + id: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["JobLock"]; + "application/json": components["schemas"]["UpdateLibraryPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobLock"]; + "application/json": components["schemas"]["LibrarySummary"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_jobs_get: { - /** Index */ - parameters?: { - /** @description If true, and requester is an admin, will return external job id and user email. This is only available to admins. */ - /** @description an encoded user id to restrict query to, must be own id if not admin user */ - /** @description Determines columns to return. Defaults to 'collection'. */ - /** @description Limit listing of jobs to those that are updated after specified date (e.g. '2014-01-01') */ - /** @description Limit listing of jobs to those that are updated before specified date (e.g. '2014-01-01') */ - /** @description Limit listing of jobs to those that match the history_id. If none, jobs from any history may be returned. */ - /** @description Limit listing of jobs to those that match the specified workflow ID. If none, jobs from any workflow (or from no workflows) may be returned. */ - /** @description Limit listing of jobs to those that match the specified workflow invocation ID. If none, jobs from any workflow invocation (or from no workflows) may be returned. */ - /** @description Limit listing of jobs to those that match the specified implicit collection job ID. If none, jobs from any implicit collection execution (or from no implicit collection execution) may be returned. */ - /** @description Sort results by specified field. */ - /** - * @description A mix of free text and GitHub-style tags used to filter the index operation. - * - * ## Query Structure - * - * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form - * `:` or `:''`. The tag name - * *generally* (but not exclusively) corresponds to the name of an attribute on the model - * being indexed (i.e. a column in the database). - * - * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, - * generally a partial match will be used to filter the query (i.e. in terms of the implementation - * this means the database operation `ILIKE` will typically be used). - * - * Once the tagged filters are extracted from the search query, the remaining text is just - * used to search various documented attributes of the object. - * - * ## GitHub-style Tags Available - * - * `user` - * : The user email of the user that executed the Job. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) - * - * `tool_id` - * : The tool ID corresponding to the job. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) - * - * `runner` - * : The job runner name used to execute the job. (The tag `r` can be used a short hand alias for this tag to filter on this attribute.) This tag is only available for requests using admin keys and/or sessions. - * - * `handler` - * : The job handler name used to execute the job. (The tag `h` can be used a short hand alias for this tag to filter on this attribute.) This tag is only available for requests using admin keys and/or sessions. - * - * ## Free Text - * - * Free text search terms will be searched against the following attributes of the - * Jobs: `user`, `tool`, `handler`, `runner`. - */ - /** @description Maximum number of jobs to return. */ - /** @description Return jobs starting from this specified position. For example, if ``limit`` is set to 100 and ``offset`` to 200, jobs 200-299 will be returned. */ - /** @description A list or comma-separated list of states to filter job query on. If unspecified, jobs of any state may be returned. */ - /** @description Limit listing of jobs to those that match one of the included tool_ids. If none, all are returned */ - /** @description Limit listing of jobs to those that match one of the included tool ID sql-like patterns. If none, all are returned */ + get_permissions_api_libraries__id__permissions_get: { + parameters: { query?: { - user_details?: boolean; - user_id?: string | null; - view?: components["schemas"]["JobIndexViewEnum"]; - date_range_min?: string | string | null; - date_range_max?: string | string | null; - history_id?: string | null; - workflow_id?: string | null; - invocation_id?: string | null; - implicit_collection_jobs_id?: string | null; - order_by?: components["schemas"]["JobIndexSortByEnum"]; - search?: string | null; - limit?: number; - offset?: number; - state?: string[] | null; - tool_id?: string[] | null; - tool_id_like?: string[] | null; + /** @description The scope of the permissions to retrieve. Either the `current` permissions or the `available`. */ + scope?: components["schemas"]["LibraryPermissionScope"] | null; + /** @description Indicates whether the roles available for the library access are requested. */ + is_library_access?: boolean | null; + /** @description The page number to retrieve when paginating the available roles. */ + page?: number; + /** @description The maximum number of permissions per page when paginating. */ + page_limit?: number; + /** @description Optional search text to retrieve only the roles matching this query. */ + q?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the Library. */ + id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["ShowFullJobResponse"] - | components["schemas"]["EncodedJobDetails"] - | components["schemas"]["JobSummary"] - )[]; + "application/json": + | components["schemas"]["LibraryCurrentPermissions"] + | components["schemas"]["LibraryAvailablePermissions"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - search_jobs_api_jobs_search_post: { - /** - * Return jobs for current user - * @description This method is designed to scan the list of previously run jobs and find records of jobs that had - * the exact some input parameters and datasets. This can be used to minimize the amount of repeated work, and simply - * recycle the old results. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + set_permissions_api_libraries__id__permissions_post: { + parameters: { + query?: { + /** @description Indicates what action should be performed on the Library. */ + action?: components["schemas"]["LibraryPermissionAction"] | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the Library. */ + id: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["SearchJobsPayload"]; + "application/json": + | components["schemas"]["LibraryPermissionsPayload"] + | components["schemas"]["LegacyLibraryPermissionsPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["EncodedJobDetails"][]; + "application/json": + | components["schemas"]["LibraryLegacySummary"] + | components["schemas"]["LibraryCurrentPermissions"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_job_api_jobs__job_id__get: { - /** Return dictionary containing description of job data. */ + index_api_libraries__library_id__contents_get: { parameters: { - /** @description Show extra information. */ - query?: { - full?: boolean | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ path: { - job_id: string; + library_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["ShowFullJobResponse"] - | components["schemas"]["EncodedJobDetails"]; + "application/json": components["schemas"]["LibraryContentsIndexListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - cancel_job_api_jobs__job_id__delete: { - /** Cancels specified job */ + create_form_api_libraries__library_id__contents_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ path: { - job_id: string; + library_id: string; }; + cookie?: never; }; - requestBody?: { + requestBody: { content: { - "application/json": components["schemas"]["DeleteJobPayload"] | null; + "multipart/form-data": components["schemas"]["Body_create_form_api_libraries__library_id__contents_post"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": boolean; + "application/json": + | components["schemas"]["LibraryContentsCreateFolderListResponse"] + | components["schemas"]["LibraryContentsCreateFileListResponse"] + | components["schemas"]["LibraryContentsCreateDatasetCollectionResponse"] + | components["schemas"]["LibraryContentsCreateDatasetResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - check_common_problems_api_jobs__job_id__common_problems_get: { - /** Check inputs and job for common potential problems to aid in error reporting */ + library_content_api_libraries__library_id__contents__id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ path: { - job_id: string; + library_id: string; + /** @example F0123456789ABCDEF */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobInputSummary"]; + "application/json": + | components["schemas"]["LibraryContentsShowFolderResponse"] + | components["schemas"]["LibraryContentsShowDatasetResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - destination_params_job_api_jobs__job_id__destination_params_get: { - /** Return destination parameters for specified job. */ + update_api_libraries__library_id__contents__id__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query: { + payload: unknown; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ path: { - job_id: string; + library_id: string; + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobDestinationParams"]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - report_error_api_jobs__job_id__error_post: { - /** Submits a bug report via the API. */ + delete_api_libraries__library_id__contents__id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ path: { - job_id: string; + library_id: string; + id: string; }; + cookie?: never; }; - requestBody: { + requestBody?: { content: { - "application/json": components["schemas"]["ReportJobErrorPayload"]; + "application/json": components["schemas"]["LibraryContentsDeletePayload"] | null; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobErrorSummary"]; + "application/json": components["schemas"]["LibraryContentsDeleteResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_inputs_api_jobs__job_id__inputs_get: { - /** Returns input datasets created by a job. */ + index_api_licenses_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description List of SPDX licenses */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LicenseMetadataModel"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; }; - /** @description The ID of the job */ + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + get_api_licenses__id__get: { + parameters: { + query?: never; + header?: never; path: { - job_id: string; + /** @description The [SPDX license short identifier](https://spdx.github.io/spdx-spec/appendix-I-SPDX-license-list/) */ + id: unknown; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description SPDX license metadata */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobInputAssociation"][]; + "application/json": components["schemas"]["LicenseMetadataModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_metrics_api_jobs__job_id__metrics_get: { - /** Return job metrics for specified job. */ + create_api_metrics_post: { parameters: { - /** - * @deprecated - * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). - */ - query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ - path: { - job_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateMetricsPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": (components["schemas"]["JobMetric"] | null)[]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_token_api_jobs__job_id__oidc_tokens_get: { - /** - * Get a fresh OIDC token - * @description Allows remote job running mechanisms to get a fresh OIDC token that can be used on remote side to authorize user. It is not meant to represent part of Galaxy's stable, user facing API - */ + get_user_notifications_api_notifications_get: { parameters: { - /** @description A key used to authenticate this request as acting on behalf or a job runner for the specified job */ - /** @description OIDC provider name */ - query: { - job_key: string; - provider: string; + query?: { + limit?: number | null; + offset?: number | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - job_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "text/plain": string; + "application/json": components["schemas"]["UserNotificationListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_outputs_api_jobs__job_id__outputs_get: { - /** Returns output datasets created by a job. */ + update_user_notifications_api_notifications_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ - path: { - job_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UserNotificationsBatchUpdateRequest"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobOutputAssociation"][]; + "application/json": components["schemas"]["NotificationsBatchUpdateResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - resolve_parameters_display_api_jobs__job_id__parameters_display_get: { - /** - * Resolve parameters as a list for nested display. - * @description Resolve parameters as a list for nested display. - * This API endpoint is unstable and tied heavily to Galaxy's JS client code, - * this endpoint will change frequently. - */ + send_notification_api_notifications_post: { parameters: { - /** - * @deprecated - * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). - */ - query?: { - hda_ldda?: components["schemas"]["DatasetSourceType"] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ - path: { - job_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["NotificationCreateRequest"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobDisplayParametersSummary"]; + "application/json": + | components["schemas"]["NotificationCreatedResponse"] + | components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - resume_paused_job_api_jobs__job_id__resume_put: { - /** Resumes a paused job. */ + delete_user_notifications_api_notifications_delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the job */ - path: { - job_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["NotificationsBatchRequest"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["JobOutputAssociation"][]; + "application/json": components["schemas"]["NotificationsBatchUpdateResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_libraries_get: { - /** - * Returns a list of summary data for all libraries. - * @description Returns a list of summary data for all libraries. - */ - parameters?: { - /** @description Whether to include deleted libraries in the result. */ - query?: { - deleted?: boolean | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + get_all_broadcasted_api_notifications_broadcast_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibrarySummaryList"]; + "application/json": components["schemas"]["BroadcastNotificationListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_libraries_post: { - /** - * Creates a new library and returns its summary information. - * @description Creates a new library and returns its summary information. Currently, only admin users can create libraries. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + broadcast_notification_api_notifications_broadcast_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateLibraryPayload"]; + "application/json": components["schemas"]["BroadcastNotificationCreateRequest"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibrarySummary"]; + "application/json": components["schemas"]["NotificationCreatedResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_deleted_api_libraries_deleted_get: { - /** - * Returns a list of summary data for all libraries marked as deleted. - * @description Returns a list of summary data for all libraries marked as deleted. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + get_broadcasted_api_notifications_broadcast__notification_id__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the Notification. */ + notification_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibrarySummaryList"]; + "application/json": components["schemas"]["BroadcastNotificationResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_from_store_api_libraries_from_store_post: { - /** Create libraries from a model store. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + update_broadcasted_notification_api_notifications_broadcast__notification_id__put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the Notification. */ + notification_id: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateLibrariesFromStore"]; + "application/json": components["schemas"]["NotificationBroadcastUpdateRequest"]; }; }; responses: { /** @description Successful Response */ - 200: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibrarySummary"][]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_libraries__id__get: { - /** - * Returns summary information about a particular library. - * @description Returns summary information about a particular library. - */ + get_notification_preferences_api_notifications_preferences_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Library. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibrarySummary"]; + "application/json": components["schemas"]["UserNotificationPreferences"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_libraries__id__delete: { - /** - * Marks the specified library as deleted (or undeleted). - * @description Marks the specified library as deleted (or undeleted). - * Currently, only admin users can delete or restore libraries. - */ + update_notification_preferences_api_notifications_preferences_put: { parameters: { - /** @description Whether to restore a deleted library. */ - query?: { - undelete?: boolean | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Library. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; - requestBody?: { + requestBody: { content: { - "application/json": components["schemas"]["DeleteLibraryPayload"] | null; + "application/json": components["schemas"]["UpdateUserNotificationPreferencesRequest"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibrarySummary"]; + "application/json": components["schemas"]["UserNotificationPreferences"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_libraries__id__patch: { - /** - * Updates the information of an existing library. - * @description Updates the information of an existing library. - */ + get_notifications_status_api_notifications_status_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query: { + since: string; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Library. */ - path: { - id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateLibraryPayload"]; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LibrarySummary"]; + "application/json": components["schemas"]["NotificationStatusSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_permissions_api_libraries__id__permissions_get: { - /** - * Gets the current or available permissions of a particular library. - * @description Gets the current or available permissions of a particular library. - * The results can be paginated and additionally filtered by a query. - */ + show_notification_api_notifications__notification_id__get: { parameters: { - /** @description The scope of the permissions to retrieve. Either the `current` permissions or the `available`. */ - /** @description Indicates whether the roles available for the library access are requested. */ - /** @description The page number to retrieve when paginating the available roles. */ - /** @description The maximum number of permissions per page when paginating. */ - /** @description Optional search text to retrieve only the roles matching this query. */ - query?: { - scope?: components["schemas"]["LibraryPermissionScope"] | null; - is_library_access?: boolean | null; - page?: number; - page_limit?: number; - q?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Library. */ path: { - id: string; + /** @description The ID of the Notification. */ + notification_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["LibraryCurrentPermissions"] - | components["schemas"]["LibraryAvailablePermissions"]; + "application/json": components["schemas"]["UserNotificationResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_permissions_api_libraries__id__permissions_post: { - /** - * Sets the permissions to access and manipulate a library. - * @description Sets the permissions to access and manipulate a library. - */ + update_user_notification_api_notifications__notification_id__put: { parameters: { - /** @description Indicates what action should be performed on the Library. */ - query?: { - action?: components["schemas"]["LibraryPermissionAction"] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Library. */ path: { - id: string; + /** @description The ID of the Notification. */ + notification_id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": - | components["schemas"]["LibraryPermissionsPayload"] - | components["schemas"]["LegacyLibraryPermissionsPayload"]; + "application/json": components["schemas"]["UserNotificationUpdateRequest"]; }; }; responses: { /** @description Successful Response */ - 200: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["LibraryLegacySummary"] - | components["schemas"]["LibraryCurrentPermissions"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_licenses_get: { - /** - * Lists all available SPDX licenses - * @description Returns an index with all the available [SPDX licenses](https://spdx.org/licenses/). - */ + delete_user_notification_api_notifications__notification_id__delete: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The ID of the Notification. */ + notification_id: string; + }; + cookie?: never; + }; + requestBody?: never; responses: { - /** @description List of SPDX licenses */ - 200: { + /** @description Successful Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LicenseMetadataModel"][]; + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_api_licenses__id__get: { - /** - * Gets the SPDX license metadata associated with the short identifier - * @description Returns the license metadata associated with the given - * [SPDX license short ID](https://spdx.github.io/spdx-spec/appendix-I-SPDX-license-list/). - */ + object_stores__instances_index: { parameters: { - /** @description The [SPDX license short identifier](https://spdx.github.io/spdx-spec/appendix-I-SPDX-license-list/) */ - path: { - id: Record; + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description SPDX license metadata */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["LicenseMetadataModel"]; + "application/json": components["schemas"]["UserConcreteObjectStoreModel"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_metrics_post: { - /** - * Records a collection of metrics. - * @description Record any metrics sent and return some status object. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + object_stores__create_instance: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateMetricsPayload"]; + "application/json": components["schemas"]["CreateInstancePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["UserConcreteObjectStoreModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_user_notifications_api_notifications_get: { - /** - * Returns the list of notifications associated with the user. - * @description Anonymous users cannot receive personal notifications, only broadcasted notifications. - * - * You can use the `limit` and `offset` parameters to paginate through the notifications. - */ - parameters?: { - query?: { - limit?: number | null; - offset?: number | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + object_stores__test_new_instance_configuration: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateInstancePayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserNotificationListResponse"]; + "application/json": components["schemas"]["PluginStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_user_notifications_api_notifications_put: { - /** Updates a list of notifications with the requested values in a single request. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + object_stores__instances_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UserNotificationsBatchUpdateRequest"]; + path: { + /** @description The UUID used to identify a persisted UserObjectStore object. */ + uuid: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["NotificationsBatchUpdateResponse"]; + "application/json": components["schemas"]["UserConcreteObjectStoreModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - send_notification_api_notifications_post: { - /** - * Sends a notification to a list of recipients (users, groups or roles). - * @description Sends a notification to a list of recipients (users, groups or roles). - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + object_stores__instances_update: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The UUID used to identify a persisted UserObjectStore object. */ + uuid: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["NotificationCreateRequest"]; + "application/json": + | components["schemas"]["UpdateInstanceSecretPayload"] + | components["schemas"]["UpgradeInstancePayload"] + | components["schemas"]["UpdateInstancePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["NotificationCreatedResponse"] - | components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["UserConcreteObjectStoreModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_user_notifications_api_notifications_delete: { - /** Deletes a list of notifications received by the user in a single request. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + object_stores__instances_purge: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["NotificationsBatchRequest"]; + path: { + /** @description The UUID used to identify a persisted UserObjectStore object. */ + uuid: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 200: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["NotificationsBatchUpdateResponse"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_all_broadcasted_api_notifications_broadcast_get: { - /** - * Returns all currently active broadcasted notifications. - * @description Only Admin users can access inactive notifications (scheduled or recently expired). - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + object_stores__instances_test_instance: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The UUID used to identify a persisted UserObjectStore object. */ + uuid: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["BroadcastNotificationListResponse"]; + "application/json": components["schemas"]["PluginStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - broadcast_notification_api_notifications_broadcast_post: { - /** - * Broadcasts a notification to every user in the system. - * @description Broadcasted notifications are a special kind of notification that are always accessible to all users, including anonymous users. - * They are typically used to display important information such as maintenance windows or new features. - * These notifications are displayed differently from regular notifications, usually in a banner at the top or bottom of the page. - * - * Broadcasted notifications can include action links that are displayed as buttons. - * This allows users to easily perform tasks such as filling out surveys, accepting legal agreements, or accessing new tutorials. - * - * Some key features of broadcasted notifications include: - * - They are not associated with a specific user, so they cannot be deleted or marked as read. - * - They can be scheduled to be displayed in the future or to expire after a certain time. - * - By default, broadcasted notifications are published immediately and expire six months after publication. - * - Only admins can create, edit, reschedule, or expire broadcasted notifications as needed. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + object_stores__test_instances_update: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The UUID used to identify a persisted UserObjectStore object. */ + uuid: string; + }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["BroadcastNotificationCreateRequest"]; + "application/json": + | components["schemas"]["TestUpgradeInstancePayload"] + | components["schemas"]["TestUpdateInstancePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["NotificationCreatedResponse"]; + "application/json": components["schemas"]["PluginStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_broadcasted_api_notifications_broadcast__notification_id__get: { - /** - * Returns the information of a specific broadcasted notification. - * @description Only Admin users can access inactive notifications (scheduled or recently expired). - */ + object_stores__templates_index: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Notification. */ - path: { - notification_id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A list of the configured object store templates. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["BroadcastNotificationResponse"]; + "application/json": components["schemas"]["ObjectStoreTemplateSummaries"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_broadcasted_notification_api_notifications_broadcast__notification_id__put: { - /** - * Updates the state of a broadcasted notification. - * @description Only Admins can update broadcasted notifications. This is useful to reschedule, edit or expire broadcasted notifications. - */ + index_api_object_stores_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Restrict index query to user selectable object stores, the current implementation requires this to be true. */ + selectable?: boolean; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Notification. */ - path: { - notification_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["NotificationBroadcastUpdateRequest"]; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description A list of the configured object stores. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": ( + | components["schemas"]["ConcreteObjectStoreModel"] + | components["schemas"]["UserConcreteObjectStoreModel"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_notification_preferences_api_notifications_preferences_get: { - /** - * Returns the current user's preferences for notifications. - * @description Anonymous users cannot have notification preferences. They will receive only broadcasted notifications. - * - * - The settings will contain all possible channels, but the client should only show the ones that are really supported by the server. - * The supported channels are returned in the `supported-channels` header. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + show_info_api_object_stores__object_store_id__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The concrete object store ID. */ + object_store_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserNotificationPreferences"]; + "application/json": components["schemas"]["ConcreteObjectStoreModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_notification_preferences_api_notifications_preferences_put: { - /** - * Updates the user's preferences for notifications. - * @description Anonymous users cannot have notification preferences. They will receive only broadcasted notifications. - * - * - Can be used to completely enable/disable notifications for a particular type (category) - * or to enable/disable a particular channel on each category. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + index_api_pages_get: { + parameters: { + query?: { + /** @description Whether to include deleted pages in the result. */ + deleted?: boolean; + limit?: number; + offset?: number; + /** @description A mix of free text and GitHub-style tags used to filter the index operation. + * + * ## Query Structure + * + * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form + * `:` or `:''`. The tag name + * *generally* (but not exclusively) corresponds to the name of an attribute on the model + * being indexed (i.e. a column in the database). + * + * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, + * generally a partial match will be used to filter the query (i.e. in terms of the implementation + * this means the database operation `ILIKE` will typically be used). + * + * Once the tagged filters are extracted from the search query, the remaining text is just + * used to search various documented attributes of the object. + * + * ## GitHub-style Tags Available + * + * `title` + * : The page's title. + * + * `slug` + * : The page's slug. (The tag `s` can be used a short hand alias for this tag to filter on this attribute.) + * + * `tag` + * : The page's tags. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) + * + * `user` + * : The page's owner's username. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) + * + * ## Free Text + * + * Free text search terms will be searched against the following attributes of the + * Pages: `title`, `slug`, `tag`, `user`. + * + * */ + search?: string | null; + show_own?: boolean; + show_published?: boolean; + show_shared?: boolean; + /** @description Sort page index by this specified attribute on the page model */ + sort_by?: "create_time" | "title" | "update_time" | "username"; + /** @description Sort in descending order? */ + sort_desc?: boolean; + user_id?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateUserNotificationPreferencesRequest"]; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A list with summary page information. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserNotificationPreferences"]; + "application/json": components["schemas"]["PageSummaryList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_notifications_status_api_notifications_status_get: { - /** - * Returns the current status summary of the user's notifications since a particular date. - * @description Anonymous users cannot receive personal notifications, only broadcasted notifications. - */ + create_api_pages_post: { parameters: { - query: { - since: string; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreatePagePayload"]; + }; }; responses: { - /** @description Successful Response */ + /** @description The page summary information. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["NotificationStatusSummary"]; + "application/json": components["schemas"]["PageSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_notification_api_notifications__notification_id__get: { - /** Displays information about a notification received by the user. */ + show_api_pages__id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Notification. */ path: { - notification_id: string; + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The page summary information. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserNotificationResponse"]; + "application/json": components["schemas"]["PageDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_user_notification_api_notifications__notification_id__put: { - /** Updates the state of a notification received by the user. */ + delete_api_pages__id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Notification. */ path: { - notification_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UserNotificationUpdateRequest"]; + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_user_notification_api_notifications__notification_id__delete: { - /** - * Deletes a notification received by the user. - * @description When a notification is deleted, it is not immediately removed from the database, but marked as deleted. - * - * - It will not be returned in the list of notifications, but admins can still access it as long as it is not expired. - * - It will be eventually removed from the database by a background task after the expiration time. - * - Deleted notifications will be permanently deleted when the expiration time is reached. - */ + show_pdf_api_pages__id__pdf_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Notification. */ path: { - notification_id: string; + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description PDF document with the last revision of the page. */ + 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/pdf": unknown; }; }; - }; - }; - object_stores__instances_index: { - /** Get a list of persisted object store instances defined by the requesting user. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + /** @description PDF conversion service not available. */ + 501: { + headers: { + [name: string]: unknown; + }; + content?: never; }; - }; - responses: { - /** @description Successful Response */ - 200: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserConcreteObjectStoreModel"][]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - object_stores__create_instance: { - /** Create a user-bound object store. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + disable_link_access_api_pages__id__disable_link_access_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateInstancePayload"]; + path: { + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserConcreteObjectStoreModel"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - object_stores__test_new_instance_configuration: { - /** Test payload for creating user-bound object store. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + enable_link_access_api_pages__id__enable_link_access_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateInstancePayload"]; + path: { + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["PluginStatus"]; + "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - object_stores__instances_get: { - /** Get a persisted user object store instance. */ + prepare_pdf_api_pages__id__prepare_download_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { - user_object_store_id: string; + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Short term storage reference for async monitoring of this download. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserConcreteObjectStoreModel"]; + "application/json": components["schemas"]["AsyncFile"]; + }; + }; + /** @description PDF conversion service not available. */ + 501: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - object_stores__instances_update: { - /** Update or upgrade user object store instance. */ + publish_api_pages__id__publish_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { - user_object_store_id: string; - }; - }; - requestBody: { - content: { - "application/json": - | components["schemas"]["UpdateInstanceSecretPayload"] - | components["schemas"]["UpgradeInstancePayload"] - | components["schemas"]["UpdateInstancePayload"]; + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserConcreteObjectStoreModel"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - object_stores__instances_purge: { - /** Purge user object store instance. */ + share_with_users_api_pages__id__share_with_users_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { - user_object_store_id: string; - }; - }; - responses: { - /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; - }; - object_stores__templates_index: { - /** Get a list of object store templates available to build user defined object stores from */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + requestBody: { + content: { + "application/json": components["schemas"]["ShareWithPayload"]; }; }; responses: { - /** @description A list of the configured object store templates. */ + /** @description Successful Response */ 200: { - content: { - "application/json": components["schemas"]["ObjectStoreTemplateSummaries"]; + headers: { + [name: string]: unknown; }; - }; - /** @description Validation Error */ - 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["ShareWithStatus"]; }; }; - }; - }; - index_api_object_stores_get: { - /** Get a list of (currently only concrete) object stores configured with this Galaxy instance. */ - parameters?: { - /** @description Restrict index query to user selectable object stores, the current implementation requires this to be true. */ - query?: { - selectable?: boolean; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - }; - responses: { - /** @description A list of the configured object stores. */ - 200: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["ConcreteObjectStoreModel"] - | components["schemas"]["UserConcreteObjectStoreModel"] - )[]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_info_api_object_stores__object_store_id__get: { - /** Get information about a concrete object store configured with Galaxy. */ + sharing_api_pages__id__sharing_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The concrete object store ID. */ path: { - object_store_id: string; + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ConcreteObjectStoreModel"]; + "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - index_api_pages_get: { - /** - * Lists all Pages viewable by the user. - * @description Get a list with summary information of all Pages available to the user. - */ - parameters?: { - /** @description Whether to include deleted pages in the result. */ - /** - * @description A mix of free text and GitHub-style tags used to filter the index operation. - * - * ## Query Structure - * - * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form - * `:` or `:''`. The tag name - * *generally* (but not exclusively) corresponds to the name of an attribute on the model - * being indexed (i.e. a column in the database). - * - * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, - * generally a partial match will be used to filter the query (i.e. in terms of the implementation - * this means the database operation `ILIKE` will typically be used). - * - * Once the tagged filters are extracted from the search query, the remaining text is just - * used to search various documented attributes of the object. - * - * ## GitHub-style Tags Available - * - * `title` - * : The page's title. - * - * `slug` - * : The page's slug. (The tag `s` can be used a short hand alias for this tag to filter on this attribute.) - * - * `tag` - * : The page's tags. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) - * - * `user` - * : The page's owner's username. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) - * - * ## Free Text - * - * Free text search terms will be searched against the following attributes of the - * Pages: `title`, `slug`, `tag`, `user`. - */ - /** @description Sort page index by this specified attribute on the page model */ - /** @description Sort in descending order? */ - query?: { - deleted?: boolean; - limit?: number; - offset?: number; - search?: string | null; - show_own?: boolean; - show_published?: boolean; - show_shared?: boolean; - sort_by?: "create_time" | "title" | "update_time" | "username"; - sort_desc?: boolean; - user_id?: string | null; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + }; + }; + set_slug_api_pages__id__slug_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the Page. */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["SetSlugPayload"]; + }; }; responses: { - /** @description A list with summary page information. */ - 200: { + /** @description Successful Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["PageSummaryList"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_pages_post: { - /** - * Create a page and return summary information. - * @description Get a list with details of all Pages available to the user. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + undelete_api_pages__id__undelete_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreatePagePayload"]; + path: { + /** @description The ID of the Page. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The page summary information. */ - 200: { + /** @description Successful Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["PageSummary"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_pages__id__get: { - /** - * Return a page summary and the content of the last revision. - * @description Return summary information about a specific Page and the content of the last revision. - */ + unpublish_api_pages__id__unpublish_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ path: { + /** @description The ID of the Page. */ id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The page summary information. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["PageDetails"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_pages__id__delete: { - /** - * Marks the specific Page as deleted. - * @description Marks the Page with the given ID as deleted. - */ + index_api_quotas_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["QuotaSummaryList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_pdf_api_pages__id__pdf_get: { - /** - * Return a PDF document of the last revision of the Page. - * @description Return a PDF document of the last revision of the Page. - * - * This feature may not be available in this Galaxy. - */ + create_api_quotas_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ - path: { - id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateQuotaParams"]; }; }; responses: { - /** @description PDF document with the last revision of the page. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/pdf": unknown; + "application/json": components["schemas"]["CreateQuotaResult"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description PDF conversion service not available. */ - 501: never; }; }; - disable_link_access_api_pages__id__disable_link_access_put: { - /** - * Makes this item inaccessible by a URL link. - * @description Makes this item inaccessible by a URL link and return the current sharing status. - */ + index_deleted_api_quotas_deleted_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["QuotaSummaryList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - enable_link_access_api_pages__id__enable_link_access_put: { - /** - * Makes this item accessible by a URL link. - * @description Makes this item accessible by a URL link and return the current sharing status. - */ + deleted_quota_api_quotas_deleted__id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ path: { + /** @description The ID of the Quota. */ id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["QuotaDetails"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - prepare_pdf_api_pages__id__prepare_download_post: { - /** - * Return a PDF document of the last revision of the Page. - * @description Return a STS download link for this page to be downloaded as a PDF. - * - * This feature may not be available in this Galaxy. - */ + undelete_api_quotas_deleted__id__undelete_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ path: { + /** @description The ID of the Quota. */ id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Short term storage reference for async monitoring of this download. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncFile"]; + "application/json": string; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description PDF conversion service not available. */ - 501: never; }; }; - publish_api_pages__id__publish_put: { - /** - * Makes this item public and accessible by a URL link. - * @description Makes this item publicly available by a URL link and return the current sharing status. - */ + quota_api_quotas__id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ path: { + /** @description The ID of the Quota. */ id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["QuotaDetails"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - share_with_users_api_pages__id__share_with_users_put: { - /** - * Share this item with specific users. - * @description Shares this item with specific users and return the current sharing status. - */ + update_api_quotas__id__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ path: { + /** @description The ID of the Quota. */ id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["ShareWithPayload"]; + "application/json": components["schemas"]["UpdateQuotaParams"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ShareWithStatus"]; + "application/json": string; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - sharing_api_pages__id__sharing_get: { - /** - * Get the current sharing status of the given Page. - * @description Return the sharing status of the item. - */ + delete_api_quotas__id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ path: { + /** @description The ID of the Quota. */ id: string; }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["DeleteQuotaPayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": string; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_slug_api_pages__id__slug_put: { - /** - * Set a new slug for this shared item. - * @description Sets a new slug to access this item by URL. The new slug must be unique. - */ + purge_api_quotas__id__purge_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ path: { + /** @description The ID of the Quota. */ id: string; }; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["SetSlugPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - undelete_api_pages__id__undelete_put: { - /** - * Undelete the specific Page. - * @description Marks the Page with the given ID as undeleted. - */ + index_api_remote_files_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description The source to load datasets from. Possible values: ftpdir, userdir, importdir */ + target?: string; + /** @description The requested format of returned data. Either `flat` to simply list all the files, `jstree` to get a tree representation of the files, or the default `uri` to list files and directories by their URI. */ + format?: components["schemas"]["RemoteFilesFormat"] | null; + /** @description Whether to recursively lists all sub-directories. This will be `True` by default depending on the `target`. */ + recursive?: boolean | null; + /** @description (This only applies when `format` is `jstree`) The value can be either `folders` or `files` and it will disable the corresponding nodes of the tree. */ + disable?: components["schemas"]["RemoteFilesDisableMode"] | null; + /** @description Whether the query is made with the intention of writing to the source. If set to True, only entries that can be written to will be returned. */ + writeable?: boolean | null; + /** @description Maximum number of entries to return. */ + limit?: number | null; + /** @description Number of entries to skip. */ + offset?: number | null; + /** @description Search query to filter entries by. The syntax could be different depending on the target source. */ + query?: string | null; + /** @description Sort the entries by the specified field. */ + sort_by?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description A list with details about the remote files available to the user. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": + | components["schemas"]["ListUriResponse"] + | components["schemas"]["ListJstreeResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - unpublish_api_pages__id__unpublish_put: { - /** - * Removes this item from the published list. - * @description Removes this item from the published list and return the current sharing status. - */ + create_entry_api_remote_files_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Page. */ - path: { - id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateEntryPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["CreatedEntryResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_quotas_get: { - /** - * Displays a list with information of quotas that are currently active. - * @description Displays a list with information of quotas that are currently active. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + plugins_api_remote_files_plugins_get: { + parameters: { + query?: { + /** @description Whether to return browsable filesources only. The default is `True`, which will omit filesourceslike `http` and `base64` that do not implement a list method. */ + browsable_only?: boolean | null; + /** @description Whether to return **only** filesources of the specified kind. The default is `None`, which will return all filesources. Multiple values can be specified by repeating the parameter. */ + include_kind?: components["schemas"]["PluginKind"][] | null; + /** @description Whether to exclude filesources of the specified kind from the list. The default is `None`, which will return all filesources. Multiple values can be specified by repeating the parameter. */ + exclude_kind?: components["schemas"]["PluginKind"][] | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A list with details about each plugin. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["QuotaSummaryList"]; + "application/json": components["schemas"]["FilesSourcePluginList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_quotas_post: { - /** - * Creates a new quota. - * @description Creates a new quota. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + index_api_roles_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateQuotaParams"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CreateQuotaResult"]; + "application/json": components["schemas"]["RoleListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_deleted_api_quotas_deleted_get: { - /** - * Displays a list with information of quotas that have been deleted. - * @description Displays a list with information of quotas that have been deleted. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + create_api_roles_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["RoleDefinitionModel"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["QuotaSummaryList"]; + "application/json": components["schemas"]["RoleModelResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - deleted_quota_api_quotas_deleted__id__get: { - /** - * Displays details on a particular quota that has been deleted. - * @description Displays details on a particular quota that has been deleted. - */ + show_api_roles__id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Quota. */ path: { id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["QuotaDetails"]; + "application/json": components["schemas"]["RoleModelResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - undelete_api_quotas_deleted__id__undelete_post: { - /** - * Restores a previously deleted quota. - * @description Restores a previously deleted quota. - */ + delete_api_roles__id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Quota. */ path: { id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string; + "application/json": components["schemas"]["RoleModelResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - quota_api_quotas__id__get: { - /** - * Displays details on a particular active quota. - * @description Displays details on a particular active quota. - */ + purge_api_roles__id__purge_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Quota. */ path: { id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["QuotaDetails"]; + "application/json": components["schemas"]["RoleModelResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_api_quotas__id__put: { - /** - * Updates an existing quota. - * @description Updates an existing quota. - */ + undelete_api_roles__id__undelete_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the Quota. */ path: { id: string; }; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateQuotaParams"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string; + "application/json": components["schemas"]["RoleModelResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_quotas__id__delete: { - /** - * Deletes an existing quota. - * @description Deletes an existing quota. - */ + serve_api_short_term_storage__storage_request_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The ID of the Quota. */ + query?: never; + header?: never; path: { - id: string; - }; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["DeleteQuotaPayload"]; + storage_request_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The archive file containing the History. */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request was cancelled without an exception condition recorded. */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - purge_api_quotas__id__purge_post: { - /** Purges a previously deleted quota. */ + is_ready_api_short_term_storage__storage_request_id__ready_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The ID of the Quota. */ + query?: never; + header?: never; path: { - id: string; + storage_request_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Boolean indicating if the storage is ready. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string; + "application/json": boolean; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_remote_files_get: { - /** - * Displays remote files available to the user. - * @description Lists all remote files available to the user from different sources. - * - * The total count of files and directories is returned in the 'total_matches' header. - */ - parameters?: { - /** @description The source to load datasets from. Possible values: ftpdir, userdir, importdir */ - /** @description The requested format of returned data. Either `flat` to simply list all the files, `jstree` to get a tree representation of the files, or the default `uri` to list files and directories by their URI. */ - /** @description Whether to recursively lists all sub-directories. This will be `True` by default depending on the `target`. */ - /** @description (This only applies when `format` is `jstree`) The value can be either `folders` or `files` and it will disable the corresponding nodes of the tree. */ - /** @description Whether the query is made with the intention of writing to the source. If set to True, only entries that can be written to will be returned. */ - /** @description Maximum number of entries to return. */ - /** @description Number of entries to skip. */ - /** @description Search query to filter entries by. The syntax could be different depending on the target source. */ - /** @description Sort the entries by the specified field. */ - query?: { - target?: string; - format?: components["schemas"]["RemoteFilesFormat"] | null; - recursive?: boolean | null; - disable?: components["schemas"]["RemoteFilesDisableMode"] | null; - writeable?: boolean | null; - limit?: number | null; - offset?: number | null; - query?: string | null; - sort_by?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + cleanup_datasets_api_storage_datasets_delete: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CleanupStorageItemsRequest"]; + }; }; responses: { - /** @description A list with details about the remote files available to the user. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["ListUriResponse"] - | components["schemas"]["ListJstreeResponse"]; + "application/json": components["schemas"]["StorageItemsCleanupResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_entry_api_remote_files_post: { - /** - * Creates a new entry (directory/record) on the remote files source. - * @description Creates a new entry on the remote files source. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + discarded_datasets_api_storage_datasets_discarded_get: { + parameters: { + query?: { + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ + order?: components["schemas"]["StoredItemOrderBy"] | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateEntryPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CreatedEntryResponse"]; + "application/json": components["schemas"]["StoredItem"][]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - plugins_api_remote_files_plugins_get: { - /** - * Display plugin information for each of the gxfiles:// URI targets available. - * @description Display plugin information for each of the gxfiles:// URI targets available. - */ - parameters?: { - /** @description Whether to return browsable filesources only. The default is `True`, which will omit filesourceslike `http` and `base64` that do not implement a list method. */ - /** @description Whether to return **only** filesources of the specified kind. The default is `None`, which will return all filesources. Multiple values can be specified by repeating the parameter. */ - /** @description Whether to exclude filesources of the specified kind from the list. The default is `None`, which will return all filesources. Multiple values can be specified by repeating the parameter. */ - query?: { - browsable_only?: boolean | null; - include_kind?: components["schemas"]["PluginKind"][] | null; - exclude_kind?: components["schemas"]["PluginKind"][] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + discarded_datasets_summary_api_storage_datasets_discarded_summary_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description A list with details about each plugin. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["FilesSourcePluginList"]; + "application/json": components["schemas"]["CleanableItemsSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_roles_get: { - /** Index */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + cleanup_histories_api_storage_histories_delete: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CleanupStorageItemsRequest"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["RoleListResponse"]; + "application/json": components["schemas"]["StorageItemsCleanupResult"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_roles_post: { - /** Create */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + archived_histories_api_storage_histories_archived_get: { + parameters: { + query?: { + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ + order?: components["schemas"]["StoredItemOrderBy"] | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["RoleDefinitionModel"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["RoleModelResponse"]; + "application/json": components["schemas"]["StoredItem"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_roles__id__get: { - /** Show */ + archived_histories_summary_api_storage_histories_archived_summary_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["RoleModelResponse"]; + "application/json": components["schemas"]["CleanableItemsSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_roles__id__delete: { - /** Delete */ + discarded_histories_api_storage_histories_discarded_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ + order?: components["schemas"]["StoredItemOrderBy"] | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["RoleModelResponse"]; + "application/json": components["schemas"]["StoredItem"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - purge_api_roles__id__purge_post: { - /** Purge */ + discarded_histories_summary_api_storage_histories_discarded_summary_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["RoleModelResponse"]; + "application/json": components["schemas"]["CleanableItemsSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - undelete_api_roles__id__undelete_post: { - /** Undelete */ + update_api_tags_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - path: { - id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ItemTagsPayload"]; }; }; responses: { /** @description Successful Response */ - 200: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["RoleModelResponse"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - serve_api_short_term_storage__storage_request_id__get: { - /** Serve the staged download specified by request ID. */ + state_api_tasks__task_id__state_get: { parameters: { + query?: never; + header?: never; path: { - storage_request_id: string; + task_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The archive file containing the History. */ - 200: never; - /** @description Request was cancelled without an exception condition recorded. */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description String indicating task state. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskState"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - is_ready_api_short_term_storage__storage_request_id__ready_get: { - /** Determine if specified storage request ID is ready for download. */ + index_api_tool_data_get: { parameters: { - path: { - storage_request_id: string; - }; + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Boolean indicating if the storage is ready. */ + /** @description A list with details on individual data tables. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": boolean; + "application/json": components["schemas"]["ToolDataEntryList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - cleanup_datasets_api_storage_datasets_delete: { - /** - * Purges a set of datasets by ID from disk. The datasets must be owned by the user. - * @description **Warning**: This operation cannot be undone. All objects will be deleted permanently from the disk. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + create_api_tool_data_post: { + parameters: { + query?: { + tool_data_file_path?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CleanupStorageItemsRequest"]; + "application/json": components["schemas"]["ImportToolDataBundle"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["StorageItemsCleanupResult"]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - discarded_datasets_api_storage_datasets_discarded_get: { - /** Returns discarded datasets owned by the given user. The results can be paginated. */ - parameters?: { - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ - query?: { - offset?: number | null; - limit?: number | null; - order?: components["schemas"]["StoredItemOrderBy"] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + show_api_tool_data__table_name__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The name of the tool data table */ + table_name: string; + }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A description of the given data table and its content */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["StoredItem"][]; + "application/json": components["schemas"]["ToolDataDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - discarded_datasets_summary_api_storage_datasets_discarded_summary_get: { - /** Returns information with the total storage space taken by discarded datasets owned by the given user. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + delete_api_tool_data__table_name__delete: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The name of the tool data table */ + table_name: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ToolDataItem"]; + }; }; responses: { - /** @description Successful Response */ + /** @description A description of the affected data table and its content */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CleanableItemsSummary"]; + "application/json": components["schemas"]["ToolDataDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - cleanup_histories_api_storage_histories_delete: { - /** - * Purges a set of histories by ID. The histories must be owned by the user. - * @description **Warning**: This operation cannot be undone. All objects will be deleted permanently from the disk. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + show_field_api_tool_data__table_name__fields__field_name__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CleanupStorageItemsRequest"]; + path: { + /** @description The name of the tool data table */ + table_name: string; + /** @description The name of the tool data table field */ + field_name: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Information about a data table field */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["StorageItemsCleanupResult"]; + "application/json": components["schemas"]["ToolDataField"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - archived_histories_api_storage_histories_archived_get: { - /** Returns archived histories owned by the given user that are not purged. The results can be paginated. */ - parameters?: { - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ - query?: { - offset?: number | null; - limit?: number | null; - order?: components["schemas"]["StoredItemOrderBy"] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + download_field_file_api_tool_data__table_name__fields__field_name__files__file_name__get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The name of the tool data table */ + table_name: string; + /** @description The name of the tool data table field */ + field_name: string; + /** @description The name of a file associated with this data table field */ + file_name: string; + }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Information about a data table field */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["StoredItem"][]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - archived_histories_summary_api_storage_histories_archived_summary_get: { - /** Returns information with the total storage space taken by non-purged archived histories associated with the given user. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + reload_api_tool_data__table_name__reload_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The name of the tool data table */ + table_name: string; + }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A description of the reloaded data table and its content */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CleanableItemsSummary"]; + "application/json": components["schemas"]["ToolDataDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - discarded_histories_api_storage_histories_discarded_get: { - /** Returns all discarded histories associated with the given user. */ - parameters?: { - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description The maximum number of items to return. */ - /** @description String containing one of the valid ordering attributes followed by '-asc' or '-dsc' for ascending and descending order respectively. */ + index_api_tool_shed_repositories_get: { + parameters: { query?: { - offset?: number | null; - limit?: number | null; - order?: components["schemas"]["StoredItemOrderBy"] | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + /** @description Filter by repository name. */ + name?: string | null; + /** @description Filter by repository owner. */ + owner?: string | null; + /** @description Filter by changeset revision. */ + changeset?: string | null; + /** @description Filter by whether the repository has been deleted. */ + deleted?: boolean | null; + /** @description Filter by whether the repository has been uninstalled. */ + uninstalled?: boolean | null; }; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A list of installed tool shed repository objects. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["StoredItem"][]; + "application/json": components["schemas"]["InstalledToolShedRepository"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - discarded_histories_summary_api_storage_histories_discarded_summary_get: { - /** Returns information with the total storage space taken by discarded histories associated with the given user. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + check_for_updates_api_tool_shed_repositories_check_for_updates_get: { + parameters: { + query?: { + id?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description A description of the state and updates message. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CleanableItemsSummary"]; + "application/json": components["schemas"]["CheckForUpdatesResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - update_api_tags_put: { - /** - * Apply a new set of tags to an item. - * @description Replaces the tags associated with an item with the new ones specified in the payload. - * - * - The previous tags will be __deleted__. - * - If no tags are provided in the request body, the currently associated tags will also be __deleted__. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ItemTagsPayload"]; - }; - }; - responses: { - /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - state_api_tasks__task_id__state_get: { - /** Determine state of task ID */ + show_api_tool_shed_repositories__id__get: { parameters: { + query?: never; + header?: never; path: { - task_id: string; + /** @description The encoded database identifier of the installed Tool Shed Repository. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description String indicating task state. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["TaskState"]; + "application/json": components["schemas"]["InstalledToolShedRepository"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - index_api_tool_data_get: { - /** - * Lists all available data tables - * @description Get the list of all available data tables. - */ - responses: { - /** @description A list with details on individual data tables. */ - 200: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ToolDataEntryList"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_tool_data_post: { - /** Import a data manager bundle */ - parameters?: { - query?: { - tool_data_file_path?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + fetch_form_api_tools_fetch_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["ImportToolDataBundle"]; + "multipart/form-data": components["schemas"]["Body_fetch_form_api_tools_fetch_post"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_tool_data__table_name__get: { - /** - * Get details of a given data table - * @description Get details of a given tool data table. - */ + index_api_tours_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The name of the tool data table */ - path: { - table_name: string; - }; + query?: never; + header?: never; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description A description of the given data table and its content */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ToolDataDetails"]; + "application/json": components["schemas"]["TourList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_tool_data__table_name__delete: { - /** - * Removes an item from a data table - * @description Removes an item from a data table and reloads it to return its updated details. - */ + show_api_tours__tour_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; - }; - /** @description The name of the tool data table */ + query?: never; + header?: never; path: { - table_name: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ToolDataItem"]; + tour_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description A description of the affected data table and its content */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ToolDataDetails"]; + "application/json": components["schemas"]["TourDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_field_api_tool_data__table_name__fields__field_name__get: { - /** - * Get information about a particular field in a tool data table - * @description Reloads a data table and return its details. - */ + update_tour_api_tours__tour_id__post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The name of the tool data table */ - /** @description The name of the tool data table field */ path: { - table_name: string; - field_name: string; + tour_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Information about a data table field */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ToolDataField"]; + "application/json": components["schemas"]["TourDetails"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - download_field_file_api_tool_data__table_name__fields__field_name__files__file_name__get: { - /** - * Get information about a particular field in a tool data table - * @description Download a file associated with the data table field. - */ + get_users_api_users_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Indicates if the collection will be about deleted users */ + deleted?: boolean; + /** @description An email address to filter on */ + f_email?: string | null; + /** @description An username address to filter on */ + f_name?: string | null; + /** @description Filter on username OR email */ + f_any?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The name of the tool data table */ - /** @description The name of the tool data table field */ - /** @description The name of a file associated with this data table field */ - path: { - table_name: string; - field_name: string; - file_name: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Information about a data table field */ - 200: never; - /** @description Validation Error */ - 422: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": ( + | components["schemas"]["UserModel"] + | components["schemas"]["LimitedUserModel"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - reload_api_tool_data__table_name__reload_get: { - /** - * Reloads a tool data table - * @description Reloads a data table and return its details. - */ + create_user_api_users_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The name of the tool data table */ - path: { - table_name: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": + | components["schemas"]["UserCreationPayload"] + | components["schemas"]["RemoteUserCreationPayload"]; }; }; responses: { - /** @description A description of the reloaded data table and its content */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ToolDataDetails"]; + "application/json": components["schemas"]["CreatedUserModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_tool_shed_repositories_get: { - /** Lists installed tool shed repositories. */ - parameters?: { - /** @description Filter by repository name. */ - /** @description Filter by repository owner. */ - /** @description Filter by changeset revision. */ - /** @description Filter by whether the repository has been deleted. */ - /** @description Filter by whether the repository has been uninstalled. */ - query?: { - name?: string | null; - owner?: string | null; - changeset?: string | null; - deleted?: boolean | null; - uninstalled?: boolean | null; + recalculate_disk_usage_api_users_current_recalculate_disk_usage_put: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description A list of installed tool shed repository objects. */ + /** @description The asynchronous task summary to track the task state. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["InstalledToolShedRepository"][]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description The background task was submitted but there is no status tracking ID available. */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - check_for_updates_api_tool_shed_repositories_check_for_updates_get: { - /** Check for updates to the specified repository, or all installed repositories. */ - parameters?: { + get_deleted_users_api_users_deleted_get: { + parameters: { query?: { - id?: string | null; + /** @description An email address to filter on */ + f_email?: string | null; + /** @description An username address to filter on */ + f_name?: string | null; + /** @description Filter on username OR email */ + f_any?: string | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description A description of the state and updates message. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CheckForUpdatesResponse"]; + "application/json": ( + | components["schemas"]["UserModel"] + | components["schemas"]["LimitedUserModel"] + )[]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_tool_shed_repositories__id__get: { - /** Show installed tool shed repository. */ + get_deleted_user_api_users_deleted__user_id__get: { parameters: { - /** @description The encoded database identifier of the installed Tool Shed Repository. */ + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; path: { - id: string; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["InstalledToolShedRepository"]; + "application/json": + | components["schemas"]["DetailedUserModel"] + | components["schemas"]["AnonUserModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - fetch_form_api_tools_fetch_post: { - /** Upload files to Galaxy */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + undelete_user_api_users_deleted__user_id__undelete_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_fetch_form_api_tools_fetch_post"]; + path: { + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["DetailedUserModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - index_api_tours_get: { - /** - * Index - * @description Return list of available tours. - */ - responses: { - /** @description Successful Response */ - 200: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["TourList"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - show_api_tours__tour_id__get: { - /** - * Show - * @description Return a tour definition. - */ + recalculate_disk_usage_api_users_recalculate_disk_usage_put: { parameters: { - path: { - tour_id: string; + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The asynchronous task summary to track the task state. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["TourDetails"]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; + }; + }; + /** @description The background task was submitted but there is no status tracking ID available. */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_tour_api_tours__tour_id__post: { - /** - * Update Tour - * @description Return a tour definition. - */ + get_user_api_users__user_id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Indicates if the user is deleted */ + deleted?: boolean | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { - tour_id: string; + /** @description The ID of the user to get or 'current'. */ + user_id: string | "current"; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["TourDetails"]; + "application/json": + | components["schemas"]["DetailedUserModel"] + | components["schemas"]["AnonUserModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_users_api_users_get: { - /** - * Get Users - * @description Return a collection of users. Filters will only work if enabled in config or user is admin. - */ - parameters?: { - /** @description Indicates if the collection will be about deleted users */ - /** @description An email address to filter on */ - /** @description An username address to filter on */ - /** @description Filter on username OR email */ + update_user_api_users__user_id__put: { + parameters: { query?: { - deleted?: boolean; - f_email?: string | null; - f_name?: string | null; - f_any?: string | null; + /** @description Indicates if the user is deleted */ + deleted?: boolean | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the user to get or 'current'. */ + user_id: string | "current"; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UserUpdatePayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["UserModel"] - | components["schemas"]["LimitedUserModel"] - )[]; + "application/json": components["schemas"]["DetailedUserModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_user_api_users_post: { - /** Create a new Galaxy user. Only admins can create users for now. */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + delete_user_api_users__user_id__delete: { + parameters: { + query?: { + /** @description Whether to definitely remove this user. Only deleted users can be purged. */ + purge?: boolean; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the user. */ + user_id: string; + }; + cookie?: never; }; - requestBody: { + requestBody?: { content: { - "application/json": - | components["schemas"]["UserCreationPayload"] - | components["schemas"]["RemoteUserCreationPayload"]; + "application/json": components["schemas"]["UserDeletionPayload"] | null; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CreatedUserModel"]; + "application/json": components["schemas"]["DetailedUserModel"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - recalculate_disk_usage_api_users_current_recalculate_disk_usage_put: { - /** - * Triggers a recalculation of the current user disk usage. - * @description This route will be removed in a future version. - * - * Please use `/api/users/current/recalculate_disk_usage` instead. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + get_or_create_api_key_api_users__user_id__api_key_get: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the user. */ + user_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The asynchronous task summary to track the task state. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": string; }; }; - /** @description The background task was submitted but there is no status tracking ID available. */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_deleted_users_api_users_deleted_get: { - /** - * Get Deleted Users - * @description Return a collection of deleted users. Only admins can see deleted users. - */ - parameters?: { - /** @description An email address to filter on */ - /** @description An username address to filter on */ - /** @description Filter on username OR email */ - query?: { - f_email?: string | null; - f_name?: string | null; - f_any?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + create_api_key_api_users__user_id__api_key_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The ID of the user. */ + user_id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": ( - | components["schemas"]["UserModel"] - | components["schemas"]["LimitedUserModel"] - )[]; + "application/json": string; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_deleted_user_api_users_deleted__user_id__get: { - /** Return information about a deleted user. Only admins can see deleted users. */ + delete_api_key_api_users__user_id__api_key_delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 200: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["DetailedUserModel"] - | components["schemas"]["AnonUserModel"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - undelete_user_api_users_deleted__user_id__undelete_post: { - /** Restore a deleted user. Only admins can restore users. */ + get_api_key_detailed_api_users__user_id__api_key_detailed_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The API key of the user. */ 200: { - content: { - "application/json": components["schemas"]["DetailedUserModel"]; + headers: { + [name: string]: unknown; }; - }; - /** @description Validation Error */ - 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["APIKeyModel"]; }; }; - }; - }; - recalculate_disk_usage_api_users_recalculate_disk_usage_put: { - /** - * Triggers a recalculation of the current user disk usage. - * @deprecated - * @description This route will be removed in a future version. - * - * Please use `/api/users/current/recalculate_disk_usage` instead. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ - header?: { - "run-as"?: string | null; + /** @description The user doesn't have an API key. */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; }; - }; - responses: { - /** @description The asynchronous task summary to track the task state. */ - 200: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description The background task was submitted but there is no status tracking ID available. */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_user_api_users__user_id__get: { - /** Return information about a specified or the current user. Only admin can see deleted or other users */ + get_beacon_settings_api_users__user_id__beacon_get: { parameters: { - /** @description Indicates if the user is deleted */ - query?: { - deleted?: boolean | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user to get or 'current'. */ path: { - user_id: string | "current"; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": - | components["schemas"]["DetailedUserModel"] - | components["schemas"]["AnonUserModel"]; + "application/json": components["schemas"]["UserBeaconSetting"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - update_user_api_users__user_id__put: { - /** Update the values of a user. Only admin can update others. */ + set_beacon_settings_api_users__user_id__beacon_post: { parameters: { - /** @description Indicates if the user is deleted */ - query?: { - deleted?: boolean | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user to get or 'current'. */ path: { - user_id: string | "current"; + /** @description The ID of the user. */ + user_id: string; }; + cookie?: never; }; requestBody: { content: { - "application/json": Record; + "application/json": components["schemas"]["UserBeaconSetting"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DetailedUserModel"]; + "application/json": components["schemas"]["UserBeaconSetting"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_user_api_users__user_id__delete: { - /** Delete a user. Only admins can delete others or purge users. */ + get_custom_builds_api_users__user_id__custom_builds_get: { parameters: { - /** @description Whether to definitely remove this user. Only deleted users can be purged. */ - query?: { - purge?: boolean; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; }; + cookie?: never; }; - requestBody?: { - content: { - "application/json": components["schemas"]["UserDeletionPayload"] | null; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DetailedUserModel"]; + "application/json": components["schemas"]["CustomBuildsCollection"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_or_create_api_key_api_users__user_id__api_key_get: { - /** Return the user's API key */ + add_custom_builds_api_users__user_id__custom_builds__key__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; + /** @description The key of the custom build to be deleted. */ + key: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CustomBuildCreationPayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - create_api_key_api_users__user_id__api_key_post: { - /** Create a new API key for the user */ + delete_custom_build_api_users__user_id__custom_builds__key__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; + /** @description The key of the custom build to be deleted. */ + key: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string; + "application/json": components["schemas"]["DeletedCustomBuild"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_api_key_api_users__user_id__api_key_delete: { - /** Delete the current API key of the user */ + set_favorite_api_users__user_id__favorites__object_type__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; + /** @description The object type the user wants to favorite */ + object_type: components["schemas"]["FavoriteObjectType"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["FavoriteObject"]; }; }; responses: { /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["FavoriteObjectsSummary"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_api_key_detailed_api_users__user_id__api_key_detailed_get: { - /** Return the user's API key with extra information. */ + remove_favorite_api_users__user_id__favorites__object_type___object_id__delete: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; + /** @description The object type the user wants to favorite */ + object_type: components["schemas"]["FavoriteObjectType"]; + /** @description The ID of an object the user wants to remove from favorites */ + object_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { - /** @description The API key of the user. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["APIKeyModel"]; + "application/json": components["schemas"]["FavoriteObjectsSummary"]; }; }; - /** @description The user doesn't have an API key. */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_beacon_settings_api_users__user_id__beacon_get: { - /** - * Return information about beacon share settings - * @description **Warning**: This endpoint is experimental and might change or disappear in future versions. - */ + get_user_objectstore_usage_api_users__user_id__objectstore_usage_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { - user_id: string; + /** @description The ID of the user to get or 'current'. */ + user_id: string | "current"; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserBeaconSetting"]; + "application/json": components["schemas"]["UserObjectstoreUsage"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_beacon_settings_api_users__user_id__beacon_post: { - /** - * Change beacon setting - * @description **Warning**: This endpoint is experimental and might change or disappear in future versions. - */ + recalculate_disk_usage_by_user_id_api_users__user_id__recalculate_disk_usage_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; }; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["UserBeaconSetting"]; - }; - }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description The asynchronous task summary to track the task state. */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserBeaconSetting"]; + "application/json": components["schemas"]["AsyncTaskResultSummary"]; }; }; - /** @description Validation Error */ - 422: { + /** @description The background task was submitted but there is no status tracking ID available. */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_custom_builds_api_users__user_id__custom_builds_get: { - /** Returns collection of custom builds. */ + get_user_roles_api_users__user_id__roles_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { + /** @description The ID of the user. */ user_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["CustomBuildsCollection"]; + "application/json": components["schemas"]["RoleListResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - add_custom_builds_api_users__user_id__custom_builds__key__put: { - /** Add new custom build. */ + send_activation_email_api_users__user_id__send_activation_email_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ - /** @description The key of the custom build to be deleted. */ path: { + /** @description The ID of the user. */ user_id: string; - key: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CustomBuildCreationPayload"]; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - delete_custom_build_api_users__user_id__custom_builds__key__delete: { - /** Delete a custom build */ + set_theme_api_users__user_id__theme__theme__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ - /** @description The key of the custom build to be deleted. */ path: { + /** @description The ID of the user. */ user_id: string; - key: string; + /** @description The theme of the GUI */ + theme: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["DeletedCustomBuild"]; + "application/json": string; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_favorite_api_users__user_id__favorites__object_type__put: { - /** Add the object to user's favorites */ + get_user_usage_api_users__user_id__usage_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ - /** @description The object type the user wants to favorite */ path: { - user_id: string; - object_type: components["schemas"]["FavoriteObjectType"]; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["FavoriteObject"]; + /** @description The ID of the user to get or 'current'. */ + user_id: string | "current"; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["FavoriteObjectsSummary"]; + "application/json": components["schemas"]["UserQuotaUsage"][]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - remove_favorite_api_users__user_id__favorites__object_type___object_id__delete: { - /** Remove the object from user's favorites */ + get_user_usage_for_label_api_users__user_id__usage__label__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ - /** @description The object type the user wants to favorite */ - /** @description The ID of an object the user wants to remove from favorites */ path: { - user_id: string; - object_type: components["schemas"]["FavoriteObjectType"]; - object_id: string; + /** @description The ID of the user to get or 'current'. */ + user_id: string | "current"; + /** @description The label corresponding to the quota source to fetch usage information about. */ + label: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["UserQuotaUsage"] | null; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + version_api_version_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Galaxy version information: major/minor version, optional extra info */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": Record; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["FavoriteObjectsSummary"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_user_objectstore_usage_api_users__user_id__objectstore_usage_get: { - /** Return the user's object store usage summary broken down by object store ID */ + index_api_visualizations_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description Whether to include deleted visualizations in the result. */ + deleted?: boolean; + /** @description The maximum number of items to return. */ + limit?: number | null; + /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ + offset?: number | null; + user_id?: string | null; + show_own?: boolean; + show_published?: boolean; + show_shared?: boolean; + /** @description Sort visualization index by this specified attribute on the visualization model */ + sort_by?: "create_time" | "title" | "update_time" | "username"; + /** @description Sort in descending order? */ + sort_desc?: boolean; + /** @description A mix of free text and GitHub-style tags used to filter the index operation. + * + * ## Query Structure + * + * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form + * `:` or `:''`. The tag name + * *generally* (but not exclusively) corresponds to the name of an attribute on the model + * being indexed (i.e. a column in the database). + * + * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, + * generally a partial match will be used to filter the query (i.e. in terms of the implementation + * this means the database operation `ILIKE` will typically be used). + * + * Once the tagged filters are extracted from the search query, the remaining text is just + * used to search various documented attributes of the object. + * + * ## GitHub-style Tags Available + * + * `title` + * : The visualization's title. + * + * `slug` + * : The visualization's slug. (The tag `s` can be used a short hand alias for this tag to filter on this attribute.) + * + * `tag` + * : The visualization's tags. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) + * + * `user` + * : The visualization's owner's username. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) + * + * ## Free Text + * + * Free text search terms will be searched against the following attributes of the + * Visualizations: `title`, `slug`, `tag`, `type`. + * + * */ + search?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user to get or 'current'. */ - path: { - user_id: string | "current"; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserObjectstoreUsage"][]; + "application/json": components["schemas"]["VisualizationSummaryList"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - recalculate_disk_usage_by_user_id_api_users__user_id__recalculate_disk_usage_put: { - /** Triggers a recalculation of the current user disk usage. */ + create_api_visualizations_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: { + /** @description The encoded database identifier of the Visualization to import. */ + import_id?: string | null; + }; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ - path: { - user_id: string; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["VisualizationCreatePayload"]; }; }; responses: { - /** @description The asynchronous task summary to track the task state. */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["AsyncTaskResultSummary"]; + "application/json": components["schemas"]["VisualizationCreateResponse"]; }; }; - /** @description The background task was submitted but there is no status tracking ID available. */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - send_activation_email_api_users__user_id__send_activation_email_post: { - /** Sends activation email to user. */ + show_api_visualizations__id__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ path: { - user_id: string; + /** @description The encoded database identifier of the Visualization. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["VisualizationShowResponse"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_theme_api_users__user_id__theme__theme__put: { - /** Set the user's theme choice */ + update_api_visualizations__id__put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user. */ - /** @description The theme of the GUI */ path: { - user_id: string; - theme: string; + /** @description The encoded database identifier of the Visualization. */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["VisualizationUpdatePayload"]; }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": string; + "application/json": components["schemas"]["VisualizationUpdateResponse"] | null; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_user_usage_api_users__user_id__usage_get: { - /** Return the user's quota usage summary broken down by quota source */ + disable_link_access_api_visualizations__id__disable_link_access_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user to get or 'current'. */ path: { - user_id: string | "current"; + /** @description The encoded database identifier of the Visualization. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserQuotaUsage"][]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - get_user_usage_for_label_api_users__user_id__usage__label__get: { - /** Return the user's quota usage summary for a given quota source label */ + enable_link_access_api_visualizations__id__enable_link_access_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the user to get or 'current'. */ - /** @description The label corresponding to the quota source to fetch usage information about. */ path: { - user_id: string | "current"; - label: string; + /** @description The encoded database identifier of the Visualization. */ + id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserQuotaUsage"] | null; + "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - }; - }; - version_api_version_get: { - /** - * Return Galaxy version information: major/minor version, optional extra info - * @description Return Galaxy version information: major/minor version, optional extra info. - */ - responses: { - /** @description Galaxy version information: major/minor version, optional extra info */ - 200: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - index_api_visualizations_get: { - /** Returns visualizations for the current user. */ - parameters?: { - /** @description Whether to include deleted visualizations in the result. */ - /** @description The maximum number of items to return. */ - /** @description Starts at the beginning skip the first ( offset - 1 ) items and begin returning at the Nth item */ - /** @description Sort visualization index by this specified attribute on the visualization model */ - /** @description Sort in descending order? */ - /** - * @description A mix of free text and GitHub-style tags used to filter the index operation. - * - * ## Query Structure - * - * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form - * `:` or `:''`. The tag name - * *generally* (but not exclusively) corresponds to the name of an attribute on the model - * being indexed (i.e. a column in the database). - * - * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, - * generally a partial match will be used to filter the query (i.e. in terms of the implementation - * this means the database operation `ILIKE` will typically be used). - * - * Once the tagged filters are extracted from the search query, the remaining text is just - * used to search various documented attributes of the object. - * - * ## GitHub-style Tags Available - * - * `title` - * : The visualization's title. - * - * `slug` - * : The visualization's slug. (The tag `s` can be used a short hand alias for this tag to filter on this attribute.) - * - * `tag` - * : The visualization's tags. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) - * - * `user` - * : The visualization's owner's username. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) - * - * ## Free Text - * - * Free text search terms will be searched against the following attributes of the - * Visualizations: `title`, `slug`, `tag`, `type`. - */ - query?: { - deleted?: boolean; - limit?: number | null; - offset?: number | null; - user_id?: string | null; - show_own?: boolean; - show_published?: boolean; - show_shared?: boolean; - sort_by?: "create_time" | "title" | "update_time" | "username"; - sort_desc?: boolean; - search?: string | null; - }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + publish_api_visualizations__id__publish_put: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The encoded database identifier of the Visualization. */ + id: string; + }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["VisualizationSummaryList"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - disable_link_access_api_visualizations__id__disable_link_access_put: { - /** - * Makes this item inaccessible by a URL link. - * @description Makes this item inaccessible by a URL link and return the current sharing status. - */ + share_with_users_api_visualizations__id__share_with_users_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Visualization. */ path: { + /** @description The encoded database identifier of the Visualization. */ id: string; }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ShareWithPayload"]; + }; }; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["ShareWithStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - enable_link_access_api_visualizations__id__enable_link_access_put: { - /** - * Makes this item accessible by a URL link. - * @description Makes this item accessible by a URL link and return the current sharing status. - */ + sharing_api_visualizations__id__sharing_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Visualization. */ path: { + /** @description The encoded database identifier of the Visualization. */ id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - publish_api_visualizations__id__publish_put: { - /** - * Makes this item public and accessible by a URL link. - * @description Makes this item publicly available by a URL link and return the current sharing status. - */ + set_slug_api_visualizations__id__slug_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Visualization. */ path: { + /** @description The encoded database identifier of the Visualization. */ id: string; }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["SetSlugPayload"]; + }; }; responses: { /** @description Successful Response */ - 200: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - share_with_users_api_visualizations__id__share_with_users_put: { - /** - * Share this item with specific users. - * @description Shares this item with specific users and return the current sharing status. - */ + unpublish_api_visualizations__id__unpublish_put: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Visualization. */ path: { + /** @description The encoded database identifier of the Visualization. */ id: string; }; + cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["ShareWithPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["ShareWithStatus"]; + "application/json": components["schemas"]["SharingStatus"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - sharing_api_visualizations__id__sharing_get: { - /** - * Get the current sharing status of the given Visualization. - * @description Return the sharing status of the item. - */ + whoami_api_whoami_get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Visualization. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { - /** @description Successful Response */ + /** @description Information about the current authenticated user */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["UserModel"] | null; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - set_slug_api_visualizations__id__slug_put: { - /** - * Set a new slug for this shared item. - * @description Sets a new slug to access this item by URL. The new slug must be unique. - */ + create_landing_api_workflow_landings_post: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Visualization. */ - path: { - id: string; - }; + path?: never; + cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["SetSlugPayload"]; + "application/json": components["schemas"]["CreateWorkflowLandingRequestPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WorkflowLandingRequest"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; }; - }; - responses: { - /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - unpublish_api_visualizations__id__unpublish_put: { - /** - * Removes this item from the published list. - * @description Removes this item from the published list and return the current sharing status. - */ + get_landing_api_workflow_landings__uuid__get: { parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Visualization. */ path: { - id: string; + /** @description The UUID used to identify a persisted landing request. */ + uuid: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["SharingStatus"]; + "application/json": components["schemas"]["WorkflowLandingRequest"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; - whoami_api_whoami_get: { - /** - * Return information about the current authenticated user - * @description Return information about the current authenticated user. - */ - parameters?: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + claim_landing_api_workflow_landings__uuid__claim_post: { + parameters: { + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path: { + /** @description The UUID used to identify a persisted landing request. */ + uuid: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ClaimLandingPayload"] | null; + }; }; responses: { - /** @description Information about the current authenticated user */ + /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["UserModel"] | null; + "application/json": components["schemas"]["WorkflowLandingRequest"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; index_api_workflows_get: { - /** - * Lists stored workflows viewable by the user. - * @description Lists stored workflows viewable by the user. - */ - parameters?: { - /** @description Whether to restrict result to deleted workflows. */ - /** @description Whether to restrict result to hidden workflows. */ - /** @description Whether to include a list of missing tools per workflow entry */ - /** @description In unspecified, default ordering depends on other parameters but generally the user's own workflows appear first based on update time */ - /** @description Sort in descending order? */ - /** - * @description A mix of free text and GitHub-style tags used to filter the index operation. - * - * ## Query Structure - * - * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form - * `:` or `:''`. The tag name - * *generally* (but not exclusively) corresponds to the name of an attribute on the model - * being indexed (i.e. a column in the database). - * - * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, - * generally a partial match will be used to filter the query (i.e. in terms of the implementation - * this means the database operation `ILIKE` will typically be used). - * - * Once the tagged filters are extracted from the search query, the remaining text is just - * used to search various documented attributes of the object. - * - * ## GitHub-style Tags Available - * - * `name` - * : The stored workflow's name. (The tag `n` can be used a short hand alias for this tag to filter on this attribute.) - * - * `tag` - * : The workflow's tag, if the tag contains a colon an approach will be made to match the key and value of the tag separately. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) - * - * `user` - * : The stored workflow's owner's username. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) - * - * `is:published` - * : Include only published workflows in the final result. Be sure the query parameter `show_published` is set to `true` if to include all published workflows and not just the requesting user's. - * - * `is:share_with_me` - * : Include only workflows shared with the requesting user. Be sure the query parameter `show_shared` is set to `true` if to include shared workflows. - * - * ## Free Text - * - * Free text search terms will be searched against the following attributes of the - * Stored Workflows: `name`, `tag`, `user`. - */ - /** @description Set this to true to skip joining workflow step counts and optimize the resulting index query. Response objects will not contain step counts. */ + parameters: { query?: { + /** @description Whether to restrict result to deleted workflows. */ show_deleted?: boolean; + /** @description Whether to restrict result to hidden workflows. */ show_hidden?: boolean; + /** @description Whether to include a list of missing tools per workflow entry */ missing_tools?: boolean; show_published?: boolean | null; show_shared?: boolean | null; + /** @description In unspecified, default ordering depends on other parameters but generally the user's own workflows appear first based on update time */ sort_by?: ("create_time" | "update_time" | "name") | null; + /** @description Sort in descending order? */ sort_desc?: boolean | null; limit?: number | null; offset?: number | null; + /** @description A mix of free text and GitHub-style tags used to filter the index operation. + * + * ## Query Structure + * + * GitHub-style filter tags (not be confused with Galaxy tags) are tags of the form + * `:` or `:''`. The tag name + * *generally* (but not exclusively) corresponds to the name of an attribute on the model + * being indexed (i.e. a column in the database). + * + * If the tag is quoted, the attribute will be filtered exactly. If the tag is unquoted, + * generally a partial match will be used to filter the query (i.e. in terms of the implementation + * this means the database operation `ILIKE` will typically be used). + * + * Once the tagged filters are extracted from the search query, the remaining text is just + * used to search various documented attributes of the object. + * + * ## GitHub-style Tags Available + * + * `name` + * : The stored workflow's name. (The tag `n` can be used a short hand alias for this tag to filter on this attribute.) + * + * `tag` + * : The workflow's tag, if the tag contains a colon an approach will be made to match the key and value of the tag separately. (The tag `t` can be used a short hand alias for this tag to filter on this attribute.) + * + * `user` + * : The stored workflow's owner's username. (The tag `u` can be used a short hand alias for this tag to filter on this attribute.) + * + * `is:published` + * : Include only published workflows in the final result. Be sure the query parameter `show_published` is set to `true` if to include all published workflows and not just the requesting user's. + * + * `is:importable` + * : Include only importable workflows in the final result. + * + * `is:deleted` + * : Include only deleted workflows in the final result. + * + * `is:shared_with_me` + * : Include only workflows shared with the requesting user. Be sure the query parameter `show_shared` is set to `true` if to include shared workflows. + * + * `is:bookmarked` + * : Include only workflows bookmarked by the requesting user. + * + * ## Free Text + * + * Free text search terms will be searched against the following attributes of the + * Stored Workflows: `name`, `tag`, `user`. + * + * */ search?: string | null; + /** @description Set this to true to skip joining workflow step counts and optimize the resulting index query. Response objects will not contain step counts. */ skip_step_counts?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description A list with summary stored workflow information per viewable entry. */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": Record[]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; get_workflow_menu_api_workflows_menu_get: { - /** Get workflows present in the tools panel. */ - parameters?: { - /** @description Whether to restrict result to deleted workflows. */ - /** @description Whether to restrict result to hidden workflows. */ - /** @description Whether to include a list of missing tools per workflow entry */ + parameters: { query?: { + /** @description Whether to restrict result to deleted workflows. */ show_deleted?: boolean | null; + /** @description Whether to restrict result to hidden workflows. */ show_hidden?: boolean | null; + /** @description Whether to include a list of missing tools per workflow entry */ missing_tools?: boolean | null; show_published?: boolean | null; show_shared?: boolean | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; + path?: never; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_workflow_api_workflows__workflow_id__get: { - /** Displays information needed to run a workflow. */ parameters: { - /** @description Use the legacy workflow format. */ - /** @description The version of the workflow to fetch. */ query?: { instance?: boolean | null; + /** @description Use the legacy workflow format. */ legacy?: boolean | null; + /** @description The version of the workflow to fetch. */ version?: number | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["StoredWorkflowDetailed"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; delete_workflow_api_workflows__workflow_id__delete: { - /** Add the deleted flag to a workflow. */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; workflows__invocation_counts: { - /** Get state counts for accessible workflow. */ parameters: { - /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ query?: { + /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ instance?: boolean | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["RootModel_Dict_str__int__"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; disable_link_access_api_workflows__workflow_id__disable_link_access_put: { - /** - * Makes this item inaccessible by a URL link. - * @description Makes this item inaccessible by a URL link and return the current sharing status. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; enable_link_access_api_workflows__workflow_id__enable_link_access_put: { - /** - * Makes this item accessible by a URL link. - * @description Makes this item accessible by a URL link and return the current sharing status. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; index_invocations_api_workflows__workflow_id__invocations_get: { - /** Get the list of a user's workflow invocations. */ parameters: { - /** @description Return only invocations for this History ID */ - /** @description Return only invocations for this Job ID */ - /** @description Return invocations for this User ID. */ - /** @description Sort Workflow Invocations by this attribute */ - /** @description Sort in descending order? */ - /** @description Set to false to only include terminal Invocations. */ - /** @description Limit the number of invocations to return. */ - /** @description Number of invocations to skip. */ - /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ - /** @description View to be passed to the serializer */ - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ query?: { + /** @description Return only invocations for this History ID */ history_id?: string | null; + /** @description Return only invocations for this Job ID */ job_id?: string | null; + /** @description Return invocations for this User ID. */ user_id?: string | null; + /** @description Sort Workflow Invocations by this attribute */ sort_by?: components["schemas"]["InvocationSortByEnum"] | null; + /** @description Sort in descending order? */ sort_desc?: boolean; + /** @description Set to false to only include terminal Invocations. */ include_terminal?: boolean | null; + /** @description Limit the number of invocations to return. */ limit?: number | null; + /** @description Number of invocations to skip. */ offset?: number | null; + /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ instance?: boolean | null; + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ step_details?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["WorkflowInvocationResponse"][]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; Invoke_workflow_api_workflows__workflow_id__invocations_post: { - /** Schedule the workflow specified by `workflow_id` to run. */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The database identifier - UUID or encoded - of the Workflow. */ path: { - workflow_id: string | string | string; + /** @description The database identifier - UUID or encoded - of the Workflow. */ + workflow_id: string; }; + cookie?: never; }; requestBody: { content: { @@ -24501,218 +35663,301 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": | components["schemas"]["WorkflowInvocationResponse"] | components["schemas"]["WorkflowInvocationResponse"][]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_workflow_invocation_api_workflows__workflow_id__invocations__invocation_id__get: { - /** - * Get detailed description of a workflow invocation. - * @description An alias for `GET /api/invocations/{invocation_id}`. `workflow_id` is ignored. - */ parameters: { - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ - /** - * @description Populate the invocation step state with the job state instead of the invocation step state. - * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. - * Partially scheduled steps may provide incomplete information and the listed steps outputs - * are not the mapped over step outputs but the individual job outputs. - */ query?: { + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ step_details?: boolean; + /** @description Populate the invocation step state with the job state instead of the invocation step state. + * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. + * Partially scheduled steps may provide incomplete information and the listed steps outputs + * are not the mapped over step outputs but the individual job outputs. */ legacy_job_state?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["WorkflowInvocationResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; cancel_workflow_invocation_api_workflows__workflow_id__invocations__invocation_id__delete: { - /** - * Cancel the specified workflow invocation. - * @description An alias for `DELETE /api/invocations/{invocation_id}`. `workflow_id` is ignored. - */ parameters: { - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ - /** - * @description Populate the invocation step state with the job state instead of the invocation step state. - * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. - * Partially scheduled steps may provide incomplete information and the listed steps outputs - * are not the mapped over step outputs but the individual job outputs. - */ query?: { + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ step_details?: boolean; + /** @description Populate the invocation step state with the job state instead of the invocation step state. + * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. + * Partially scheduled steps may provide incomplete information and the listed steps outputs + * are not the mapped over step outputs but the individual job outputs. */ legacy_job_state?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["WorkflowInvocationResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; workflow_invocation_jobs_summary_api_workflows__workflow_id__invocations__invocation_id__jobs_summary_get: { - /** - * Get job state summary info aggregated across all current jobs of the workflow invocation. - * @description An alias for `GET /api/invocations/{invocation_id}/jobs_summary`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationJobsResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_workflow_invocation_report_api_workflows__workflow_id__invocations__invocation_id__report_get: { - /** - * Get JSON summarizing invocation for reporting. - * @description An alias for `GET /api/invocations/{invocation_id}/report`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationReport"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_workflow_invocation_report_pdf_api_workflows__workflow_id__invocations__invocation_id__report_pdf_get: { - /** - * Get PDF summarizing invocation for reporting. - * @description An alias for `GET /api/invocations/{invocation_id}/report.pdf`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; workflow_invocation_step_jobs_summary_api_workflows__workflow_id__invocations__invocation_id__step_jobs_summary_get: { - /** - * Get job state summary info aggregated per step of the workflow invocation. - * @description An alias for `GET /api/invocations/{invocation_id}/step_jobs_summary`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": ( | components["schemas"]["InvocationStepJobsResponseStepModel"] @@ -24721,66 +35966,90 @@ export interface operations { )[]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; workflow_invocation_step_api_workflows__workflow_id__invocations__invocation_id__steps__step_id__get: { - /** - * Show details of workflow invocation step. - * @description An alias for `GET /api/invocations/{invocation_id}/steps/{step_id}`. `workflow_id` and `invocation_id` are ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the WorkflowInvocationStep. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the WorkflowInvocationStep. */ step_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationStep"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; update_workflow_invocation_step_api_workflows__workflow_id__invocations__invocation_id__steps__step_id__put: { - /** - * Update state of running workflow step invocation. - * @description An alias for `PUT /api/invocations/{invocation_id}/steps/{step_id}`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the WorkflowInvocationStep. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the WorkflowInvocationStep. */ step_id: string; }; + cookie?: never; }; requestBody: { content: { @@ -24790,62 +36059,91 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationStep"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; publish_api_workflows__workflow_id__publish_put: { - /** - * Makes this item public and accessible by a URL link. - * @description Makes this item publicly available by a URL link and return the current sharing status. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; refactor_api_workflows__workflow_id__refactor_put: { - /** Updates the workflow stored with the given ID. */ parameters: { query?: { instance?: boolean | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; requestBody: { content: { @@ -24855,32 +36153,45 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["RefactorResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; share_with_users_api_workflows__workflow_id__share_with_users_put: { - /** - * Share this item with specific users. - * @description Shares this item with specific users and return the current sharing status. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; requestBody: { content: { @@ -24890,62 +36201,89 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["ShareWithStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; sharing_api_workflows__workflow_id__sharing_get: { - /** - * Get the current sharing status of the given item. - * @description Return the sharing status of the item. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; set_slug_api_workflows__workflow_id__slug_put: { - /** - * Set a new slug for this shared item. - * @description Sets a new slug to access this item by URL. The new slug must be unique. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; requestBody: { content: { @@ -24954,79 +36292,131 @@ export interface operations { }; responses: { /** @description Successful Response */ - 204: never; - /** @description Validation Error */ - 422: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; index_api_workflows__workflow_id__tags_get: { - /** Show tags based on workflow_id */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["ItemTagsListResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_api_workflows__workflow_id__tags__tag_name__get: { - /** Show tag based on workflow_id */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { workflow_id: string; tag_name: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["ItemTagsResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; update_api_workflows__workflow_id__tags__tag_name__put: { - /** Update tag based on workflow_id */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { workflow_id: string; tag_name: string; }; + cookie?: never; }; requestBody: { content: { @@ -25036,29 +36426,45 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["ItemTagsResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; create_api_workflows__workflow_id__tags__tag_name__post: { - /** Create tag based on workflow_id */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { workflow_id: string; tag_name: string; }; + cookie?: never; }; requestBody?: { content: { @@ -25068,170 +36474,244 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["ItemTagsResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; delete_api_workflows__workflow_id__tags__tag_name__delete: { - /** Delete tag based on workflow_id */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; path: { workflow_id: string; tag_name: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": boolean; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; undelete_workflow_api_workflows__workflow_id__undelete_post: { - /** Remove the deleted flag from a workflow. */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; unpublish_api_workflows__workflow_id__unpublish_put: { - /** - * Removes this item from the published list. - * @description Removes this item from the published list and return the current sharing status. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["SharingStatus"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; index_invocations_api_workflows__workflow_id__usage_get: { - /** - * Get the list of a user's workflow invocations. - * @deprecated - */ parameters: { - /** @description Return only invocations for this History ID */ - /** @description Return only invocations for this Job ID */ - /** @description Return invocations for this User ID. */ - /** @description Sort Workflow Invocations by this attribute */ - /** @description Sort in descending order? */ - /** @description Set to false to only include terminal Invocations. */ - /** @description Limit the number of invocations to return. */ - /** @description Number of invocations to skip. */ - /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ - /** @description View to be passed to the serializer */ - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ query?: { + /** @description Return only invocations for this History ID */ history_id?: string | null; + /** @description Return only invocations for this Job ID */ job_id?: string | null; + /** @description Return invocations for this User ID. */ user_id?: string | null; + /** @description Sort Workflow Invocations by this attribute */ sort_by?: components["schemas"]["InvocationSortByEnum"] | null; + /** @description Sort in descending order? */ sort_desc?: boolean; + /** @description Set to false to only include terminal Invocations. */ include_terminal?: boolean | null; + /** @description Limit the number of invocations to return. */ limit?: number | null; + /** @description Number of invocations to skip. */ offset?: number | null; + /** @description Is provided workflow id for Workflow instead of StoredWorkflow? */ instance?: boolean | null; + /** @description View to be passed to the serializer */ view?: string | null; + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ step_details?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["WorkflowInvocationResponse"][]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; Invoke_workflow_api_workflows__workflow_id__usage_post: { - /** - * Schedule the workflow specified by `workflow_id` to run. - * @deprecated - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The database identifier - UUID or encoded - of the Workflow. */ path: { - workflow_id: string | string | string; + /** @description The database identifier - UUID or encoded - of the Workflow. */ + workflow_id: string; }; + cookie?: never; }; requestBody: { content: { @@ -25241,224 +36721,301 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": | components["schemas"]["WorkflowInvocationResponse"] | components["schemas"]["WorkflowInvocationResponse"][]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_workflow_invocation_api_workflows__workflow_id__usage__invocation_id__get: { - /** - * Get detailed description of a workflow invocation. - * @deprecated - * @description An alias for `GET /api/invocations/{invocation_id}`. `workflow_id` is ignored. - */ parameters: { - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ - /** - * @description Populate the invocation step state with the job state instead of the invocation step state. - * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. - * Partially scheduled steps may provide incomplete information and the listed steps outputs - * are not the mapped over step outputs but the individual job outputs. - */ query?: { + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ step_details?: boolean; + /** @description Populate the invocation step state with the job state instead of the invocation step state. + * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. + * Partially scheduled steps may provide incomplete information and the listed steps outputs + * are not the mapped over step outputs but the individual job outputs. */ legacy_job_state?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["WorkflowInvocationResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; cancel_workflow_invocation_api_workflows__workflow_id__usage__invocation_id__delete: { - /** - * Cancel the specified workflow invocation. - * @deprecated - * @description An alias for `DELETE /api/invocations/{invocation_id}`. `workflow_id` is ignored. - */ parameters: { - /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ - /** - * @description Populate the invocation step state with the job state instead of the invocation step state. - * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. - * Partially scheduled steps may provide incomplete information and the listed steps outputs - * are not the mapped over step outputs but the individual job outputs. - */ query?: { + /** @description Include details for individual invocation steps and populate a steps attribute in the resulting dictionary. */ step_details?: boolean; + /** @description Populate the invocation step state with the job state instead of the invocation step state. + * This will also produce one step per job in mapping jobs to mimic the older behavior with respect to collections. + * Partially scheduled steps may provide incomplete information and the listed steps outputs + * are not the mapped over step outputs but the individual job outputs. */ legacy_job_state?: boolean; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["WorkflowInvocationResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; workflow_invocation_jobs_summary_api_workflows__workflow_id__usage__invocation_id__jobs_summary_get: { - /** - * Get job state summary info aggregated across all current jobs of the workflow invocation. - * @deprecated - * @description An alias for `GET /api/invocations/{invocation_id}/jobs_summary`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationJobsResponse"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_workflow_invocation_report_api_workflows__workflow_id__usage__invocation_id__report_get: { - /** - * Get JSON summarizing invocation for reporting. - * @deprecated - * @description An alias for `GET /api/invocations/{invocation_id}/report`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationReport"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_workflow_invocation_report_pdf_api_workflows__workflow_id__usage__invocation_id__report_pdf_get: { - /** - * Get PDF summarizing invocation for reporting. - * @deprecated - * @description An alias for `GET /api/invocations/{invocation_id}/report.pdf`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ - 200: never; - /** @description Validation Error */ - 422: { + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; workflow_invocation_step_jobs_summary_api_workflows__workflow_id__usage__invocation_id__step_jobs_summary_get: { - /** - * Get job state summary info aggregated per step of the workflow invocation. - * @deprecated - * @description An alias for `GET /api/invocations/{invocation_id}/step_jobs_summary`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": ( | components["schemas"]["InvocationStepJobsResponseStepModel"] @@ -25467,68 +37024,90 @@ export interface operations { )[]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; workflow_invocation_step_api_workflows__workflow_id__usage__invocation_id__steps__step_id__get: { - /** - * Show details of workflow invocation step. - * @deprecated - * @description An alias for `GET /api/invocations/{invocation_id}/steps/{step_id}`. `workflow_id` and `invocation_id` are ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the WorkflowInvocationStep. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the WorkflowInvocationStep. */ step_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationStep"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; update_workflow_invocation_step_api_workflows__workflow_id__usage__invocation_id__steps__step_id__put: { - /** - * Update state of running workflow step invocation. - * @deprecated - * @description An alias for `PUT /api/invocations/{invocation_id}/steps/{step_id}`. `workflow_id` is ignored. - */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ - /** @description The encoded database identifier of the Invocation. */ - /** @description The encoded database identifier of the WorkflowInvocationStep. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; + /** @description The encoded database identifier of the Invocation. */ invocation_id: string; + /** @description The encoded database identifier of the WorkflowInvocationStep. */ step_id: string; }; + cookie?: never; }; requestBody: { content: { @@ -25538,169 +37117,341 @@ export interface operations { responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["InvocationStep"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; show_versions_api_workflows__workflow_id__versions_get: { - /** List all versions of a workflow. */ parameters: { query?: { instance?: boolean | null; }; - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The encoded database identifier of the Stored Workflow. */ path: { + /** @description The encoded database identifier of the Stored Workflow. */ workflow_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; get_object_ga4gh_drs_v1_objects__object_id__get: { - /** Get Object */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group */ path: { + /** @description The ID of the group */ object_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["DrsObject"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; get_object_ga4gh_drs_v1_objects__object_id__post: { - /** Get Object */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group */ path: { + /** @description The ID of the group */ object_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["DrsObject"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; get_access_url_ga4gh_drs_v1_objects__object_id__access__access_id__get: { - /** Get Access Url */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group */ - /** @description The access ID of the access method for objects, unused in Galaxy. */ path: { + /** @description The ID of the group */ object_id: string; + /** @description The access ID of the access method for objects, unused in Galaxy. */ access_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; get_access_url_ga4gh_drs_v1_objects__object_id__access__access_id__post: { - /** Get Access Url */ parameters: { - /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + query?: never; header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ "run-as"?: string | null; }; - /** @description The ID of the group */ - /** @description The access ID of the access method for objects, unused in Galaxy. */ path: { + /** @description The ID of the group */ object_id: string; + /** @description The access ID of the access method for objects, unused in Galaxy. */ access_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { - "application/json": Record; + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; - /** @description Validation Error */ - 422: { + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; content: { - "application/json": components["schemas"]["HTTPValidationError"]; + "application/json": components["schemas"]["MessageExceptionModel"]; }; }; }; }; service_info_ga4gh_drs_v1_service_info_get: { - /** Service Info */ + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; responses: { /** @description Successful Response */ 200: { + headers: { + [name: string]: unknown; + }; content: { "application/json": components["schemas"]["Service"]; }; }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + oauth2_callback_oauth2_callback_get: { + parameters: { + query: { + /** @description Base-64 encoded JSON used to route request within Galaxy. */ + state: string; + code?: string | null; + error?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; }; }; } diff --git a/client/src/api/tags.ts b/client/src/api/tags.ts index fe68ca0da13744f87ebe2a95a08ddb6bbaea795c..2eed2bae0295f8695965013041b0597b27a554ba 100644 --- a/client/src/api/tags.ts +++ b/client/src/api/tags.ts @@ -1,13 +1,18 @@ -import { components, fetcher } from "@/api/schema"; +import { type components, GalaxyApi } from "@/api"; +import { rethrowSimple } from "@/utils/simple-error"; type TaggableItemClass = components["schemas"]["TaggableItemClass"]; -const putItemTags = fetcher.path("/api/tags").method("put").create(); - export async function updateTags(itemId: string, itemClass: TaggableItemClass, itemTags?: string[]): Promise { - await putItemTags({ - item_id: itemId, - item_class: itemClass, - item_tags: itemTags, + const { error } = await GalaxyApi().PUT("/api/tags", { + body: { + item_id: itemId, + item_class: itemClass, + item_tags: itemTags, + }, }); + + if (error) { + rethrowSimple(error); + } } diff --git a/client/src/api/users.ts b/client/src/api/users.ts index 2b3fca5b279d366f576d65f4b36ae12910e86ad5..a6086985d7a97123f74986b1ff95f2a07da72197 100644 --- a/client/src/api/users.ts +++ b/client/src/api/users.ts @@ -1,19 +1,37 @@ -import { fetcher } from "@/api/schema"; - -export const createApiKey = fetcher.path("/api/users/{user_id}/api_key").method("post").create(); -export const deleteUser = fetcher.path("/api/users/{user_id}").method("delete").create(); -export const fetchQuotaUsages = fetcher.path("/api/users/{user_id}/usage").method("get").create(); -export const fetchObjectStoreUsages = fetcher.path("/api/users/{user_id}/objectstore_usage").method("get").create(); -export const recalculateDiskUsage = fetcher.path("/api/users/current/recalculate_disk_usage").method("put").create(); -export const recalculateDiskUsageByUserId = fetcher - .path("/api/users/{user_id}/recalculate_disk_usage") - .method("put") - .create(); -export const sendActivationEmail = fetcher.path("/api/users/{user_id}/send_activation_email").method("post").create(); -export const undeleteUser = fetcher.path("/api/users/deleted/{user_id}/undelete").method("post").create(); - -const getUsers = fetcher.path("/api/users").method("get").create(); -export async function getAllUsers() { - const { data } = await getUsers({}); - return data; +import { GalaxyApi } from "@/api"; +import { toQuotaUsage } from "@/components/User/DiskUsage/Quota/model"; +import { rethrowSimple } from "@/utils/simple-error"; + +export { type QuotaUsage } from "@/components/User/DiskUsage/Quota/model"; + +export async function fetchCurrentUserQuotaUsages() { + const { data, error } = await GalaxyApi().GET("/api/users/{user_id}/usage", { + params: { path: { user_id: "current" } }, + }); + + if (error) { + rethrowSimple(error); + } + + return data.map((usage) => toQuotaUsage(usage)); +} + +export async function fetchCurrentUserQuotaSourceUsage(quotaSourceLabel?: string | null) { + if (!quotaSourceLabel) { + quotaSourceLabel = "__null__"; + } + + const { data, error } = await GalaxyApi().GET("/api/users/{user_id}/usage/{label}", { + params: { path: { user_id: "current", label: quotaSourceLabel } }, + }); + + if (error) { + rethrowSimple(error); + } + + if (data === null) { + return null; + } + + return toQuotaUsage(data); } diff --git a/client/src/api/workflows.ts b/client/src/api/workflows.ts index d040f139cdfc272ac3aabce825912af8b5c6656f..2cc8371d74af3ee836818cd7f3ea36fae31500d5 100644 --- a/client/src/api/workflows.ts +++ b/client/src/api/workflows.ts @@ -1,11 +1,16 @@ -import { components, fetcher } from "@/api/schema"; +import { type components } from "@/api/schema"; export type StoredWorkflowDetailed = components["schemas"]["StoredWorkflowDetailed"]; -export const workflowsFetcher = fetcher.path("/api/workflows").method("get").create(); -export const workflowFetcher = fetcher.path("/api/workflows/{workflow_id}").method("get").create(); - -export const invocationCountsFetcher = fetcher.path("/api/workflows/{workflow_id}/counts").method("get").create(); - -export const sharing = fetcher.path("/api/workflows/{workflow_id}/sharing").method("get").create(); -export const enableLink = fetcher.path("/api/workflows/{workflow_id}/enable_link_access").method("put").create(); +//TODO: replace with generated schema model when available +export interface WorkflowSummary { + name: string; + owner: string; + [key: string]: unknown; + update_time: string; + license?: string; + tags?: string[]; + creator?: { + [key: string]: unknown; + }[]; +} diff --git a/client/src/components/AboutGalaxy.vue b/client/src/components/AboutGalaxy.vue index 4c40f4978d064081b993fdd7aedaa69655cd4f54..8dad39ed35b1b2b999100be72419bb79ed155958 100644 --- a/client/src/components/AboutGalaxy.vue +++ b/client/src/components/AboutGalaxy.vue @@ -3,6 +3,7 @@ /* (injected by webpack) */ import { computed } from "vue"; +import { RouterLink } from "vue-router"; import { useConfig } from "@/composables/config"; import { getAppRoot } from "@/onload/loadConfig"; @@ -28,47 +29,88 @@ const versionUserDocumentationUrl = computed(() => { diff --git a/client/src/components/ActivityBar/ActivityBar.test.js b/client/src/components/ActivityBar/ActivityBar.test.js index 1fbab6c98cad8f6b67231e46839660a82f756223..8d1b7fc8bfb4d301c18fc3f5f5c30fde42c5a257 100644 --- a/client/src/components/ActivityBar/ActivityBar.test.js +++ b/client/src/components/ActivityBar/ActivityBar.test.js @@ -45,7 +45,7 @@ describe("ActivityBar", () => { beforeEach(async () => { const pinia = createTestingPinia({ stubActions: false }); - activityStore = useActivityStore(); + activityStore = useActivityStore("default"); eventStore = useEventStore(); wrapper = shallowMount(mountTarget, { localVue, diff --git a/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue index 0d9f83fb3d051dc34c2b1f80da49e69f701611cb..d6c727e2b975e5400a90b1af945cb8a7e039c8bf 100644 --- a/client/src/components/ActivityBar/ActivityBar.vue +++ b/client/src/components/ActivityBar/ActivityBar.vue @@ -1,11 +1,13 @@ @@ -290,4 +389,11 @@ watch( overflow-y: auto; overflow-x: hidden; } + +.can-drag { + border-radius: 12px; + border: 1px; + outline: dashed darkgray; + outline-offset: -3px; +} diff --git a/client/src/components/ActivityBar/ActivityItem.test.js b/client/src/components/ActivityBar/ActivityItem.test.js index d4486230dda9a811564a24f1bd2e1e2e6f25c85e..c1177158befa48d59f801210ac447b988c14b623 100644 --- a/client/src/components/ActivityBar/ActivityItem.test.js +++ b/client/src/components/ActivityBar/ActivityItem.test.js @@ -1,3 +1,4 @@ +import { createTestingPinia } from "@pinia/testing"; import { mount } from "@vue/test-utils"; import { getLocalVue } from "tests/jest/helpers"; @@ -12,6 +13,7 @@ describe("ActivityItem", () => { wrapper = mount(mountTarget, { propsData: { id: "activity-test-id", + activityBarId: "activity-bar-test-id", icon: "activity-test-icon", indicator: 0, progressPercentage: 0, @@ -20,6 +22,7 @@ describe("ActivityItem", () => { to: null, tooltip: "activity-test-tooltip", }, + pinia: createTestingPinia(), localVue, stubs: { FontAwesomeIcon: true, @@ -28,8 +31,7 @@ describe("ActivityItem", () => { }); it("rendering", async () => { - const reference = wrapper.find("[id='activity-test-id']"); - expect(reference.attributes().id).toBe("activity-test-id"); + const reference = wrapper.find(".activity-item"); expect(reference.text()).toBe("activity-test-title"); expect(reference.find("[icon='activity-test-icon']").exists()).toBeTruthy(); expect(reference.find(".progress").exists()).toBeFalsy(); @@ -45,7 +47,7 @@ describe("ActivityItem", () => { }); it("rendering indicator", async () => { - const reference = wrapper.find("[id='activity-test-id']"); + const reference = wrapper.find(".activity-item"); const indicatorSelector = "[data-description='activity indicator']"; const noindicator = reference.find(indicatorSelector); expect(noindicator.exists()).toBeFalsy(); diff --git a/client/src/components/ActivityBar/ActivityItem.vue b/client/src/components/ActivityBar/ActivityItem.vue index 0586a1657f99e32279b19965526c09beb2d3af7d..fa7e67d5e8c0906b5fcaad842cdaca28de82076e 100644 --- a/client/src/components/ActivityBar/ActivityItem.vue +++ b/client/src/components/ActivityBar/ActivityItem.vue @@ -1,7 +1,14 @@