chore: reorganize docs apps (#7228)
* reorganize docs apps * add README * fix directory * add condition for old docs
This commit is contained in:
1 parent
224ebb2154
commit
4fe28f5a95
6187 files changed
+599814
-596593
No files matched your search
@@ -1,58 +0,0 @@
|
|||||||
name: Generate Docs Release Announcement Bar
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
add-announcement:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.REFERENCE_PAT }}
|
|
||||||
steps:
|
|
||||||
- name: Cancel Previous Runs
|
|
||||||
uses: styfle/cancel-workflow-action@0.11.0
|
|
||||||
with:
|
|
||||||
access_token: ${{ github.token }}
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "16.10.0"
|
|
||||||
cache: "yarn"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: ./.github/actions/cache-deps
|
|
||||||
with:
|
|
||||||
extension: docs-release
|
|
||||||
|
|
||||||
- name: Install Workspace dependencies
|
|
||||||
run: yarn install
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Build Workspace packages
|
|
||||||
run: yarn build
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Generate Announcement Bar
|
|
||||||
run: yarn generate:announcement
|
|
||||||
working-directory: docs-util/packages/scripts
|
|
||||||
|
|
||||||
- name: Generate Changeset
|
|
||||||
run: "yarn generate:changeset"
|
|
||||||
working-directory: docs-util/packages/scripts
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v4
|
|
||||||
with:
|
|
||||||
commit-message: "chore(docs): Generated Docs Announcement Bar (automated)"
|
|
||||||
base: "develop"
|
|
||||||
title: "chore(docs): Generated Docs Announcement Bar (automated)"
|
|
||||||
labels: "type: chore"
|
|
||||||
add-paths: www/apps/docs/**
|
|
||||||
branch: "docs/generate-announcement"
|
|
||||||
branch-suffix: "timestamp"
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
# Checks if the announcement bar info was last edited more than 6 days ago, and if so removes it
|
|
||||||
name: Remove Docs Release Announcement Bar
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * *"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
remove-announcement:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.REFERENCE_PAT }}
|
|
||||||
steps:
|
|
||||||
- name: Cancel Previous Runs
|
|
||||||
uses: styfle/cancel-workflow-action@0.11.0
|
|
||||||
with:
|
|
||||||
access_token: ${{ github.token }}
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "16.10.0"
|
|
||||||
cache: "yarn"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: ./.github/actions/cache-deps
|
|
||||||
with:
|
|
||||||
extension: docs-remove-announcement
|
|
||||||
|
|
||||||
- name: Install Workspace dependencies
|
|
||||||
run: yarn install
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Build Workspace packages
|
|
||||||
run: yarn build
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Remove Announcement Bar
|
|
||||||
run: yarn generate:announcement --expire
|
|
||||||
working-directory: docs-util/packages/scripts
|
|
||||||
|
|
||||||
- name: Generate Changeset
|
|
||||||
run: "yarn generate:changeset"
|
|
||||||
working-directory: docs-util/packages/scripts
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v4
|
|
||||||
with:
|
|
||||||
commit-message: "chore(docs): Removed Docs Announcement Bar (automated)"
|
|
||||||
base: "develop"
|
|
||||||
title: "chore(docs): Removed Docs Announcement Bar (automated)"
|
|
||||||
labels: "type: chore"
|
|
||||||
add-paths: www/apps/docs/**
|
|
||||||
branch: "docs/remove-announcement"
|
|
||||||
branch-suffix: "timestamp"
|
|
||||||
@@ -5,7 +5,7 @@ on:
|
|||||||
- www/**
|
- www/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs-test:
|
apps-test:
|
||||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -34,14 +34,11 @@ jobs:
|
|||||||
working-directory: www
|
working-directory: www
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
- name: Build Docusaurus website
|
- name: Build Doc Apps
|
||||||
working-directory: www
|
working-directory: www
|
||||||
env:
|
run: yarn build
|
||||||
NODE_OPTIONS: "--max-old-space-size=8192"
|
|
||||||
API_URL: "https://docs.medusajs.com"
|
|
||||||
run: yarn build:docs
|
|
||||||
|
|
||||||
vale-docs:
|
vale-book:
|
||||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -55,9 +52,29 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install docs-util Dependencies
|
||||||
|
run: yarn
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
- name: Build packages
|
||||||
|
run: yarn build
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
# reviewdog throws an error when the number
|
||||||
|
# of file changes in a PR is > 300, so
|
||||||
|
# we retrieve the number of changed files
|
||||||
|
# and only run the linter if the number is
|
||||||
|
# less than 300. This is to avoid a PR hanging in
|
||||||
|
# an error state
|
||||||
|
- name: Get PR files number
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
run: 'yarn check:pr-files-count ${{ github.ref_name }}'
|
||||||
|
id: pr-files
|
||||||
|
|
||||||
- name: Get Directories to Scan
|
- name: Get Directories to Scan
|
||||||
|
if: ${{ steps.pr-files.outputs.files_lt_threshold == 'true' }}
|
||||||
working-directory: www/vale
|
working-directory: www/vale
|
||||||
run: ./get-files.sh docs content references
|
run: ./get-files.sh book app
|
||||||
id: directories
|
id: directories
|
||||||
|
|
||||||
- name: Vale Linter
|
- name: Vale Linter
|
||||||
@@ -72,6 +89,91 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
vale-resources:
|
||||||
|
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.11.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
# reviewdog throws an error when the number
|
||||||
|
# of file changes in a PR is > 300, so
|
||||||
|
# we retrieve the number of changed files
|
||||||
|
# and only run the linter if the number is
|
||||||
|
# less than 300. This is to avoid a PR hanging in
|
||||||
|
# an error state
|
||||||
|
- name: Get PR files number
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
run: 'yarn check:pr-files-count ${{ github.ref_name }}'
|
||||||
|
id: pr-files
|
||||||
|
|
||||||
|
- name: Get Directories to Scan
|
||||||
|
working-directory: www/vale
|
||||||
|
run: ./get-files.sh resources app contribution-guidelines usage
|
||||||
|
id: directories
|
||||||
|
|
||||||
|
- name: Vale Linter
|
||||||
|
uses: errata-ai/vale-action@reviewdog
|
||||||
|
with:
|
||||||
|
files: ${{ steps.directories.outputs.LIST }}
|
||||||
|
fail_on_error: true
|
||||||
|
vale_flags: '--minAlertLevel=error'
|
||||||
|
reporter: github-pr-check
|
||||||
|
token: ${{ github.token }}
|
||||||
|
filter_mode: nofilter
|
||||||
|
env:
|
||||||
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
vale-user-guide:
|
||||||
|
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.11.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
# reviewdog throws an error when the number
|
||||||
|
# of file changes in a PR is > 300, so
|
||||||
|
# we retrieve the number of changed files
|
||||||
|
# and only run the linter if the number is
|
||||||
|
# less than 300. This is to avoid a PR hanging in
|
||||||
|
# an error state
|
||||||
|
- name: Get PR files number
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
run: 'yarn check:pr-files-count ${{ github.ref_name }}'
|
||||||
|
id: pr-files
|
||||||
|
|
||||||
|
- name: Get Directories to Scan
|
||||||
|
working-directory: www/vale
|
||||||
|
run: ./get-files.sh user-guide app
|
||||||
|
id: directories
|
||||||
|
|
||||||
|
- name: Vale Linter
|
||||||
|
if: ${{ steps.pr-files.outputs.files_lt_threshold == 'true' }}
|
||||||
|
uses: errata-ai/vale-action@reviewdog
|
||||||
|
with:
|
||||||
|
files: ${{ steps.directories.outputs.LIST }}
|
||||||
|
fail_on_error: true
|
||||||
|
vale_flags: '--minAlertLevel=error'
|
||||||
|
reporter: github-pr-check
|
||||||
|
token: ${{ github.token }}
|
||||||
|
filter_mode: nofilter
|
||||||
|
env:
|
||||||
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
vale-ui:
|
vale-ui:
|
||||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -86,13 +188,34 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install docs-util Dependencies
|
||||||
|
run: yarn
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
- name: Build packages
|
||||||
|
run: yarn build
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
# reviewdog throws an error when the number
|
||||||
|
# of file changes in a PR is > 300, so
|
||||||
|
# we retrieve the number of changed files
|
||||||
|
# and only run the linter if the number is
|
||||||
|
# less than 300. This is to avoid a PR hanging in
|
||||||
|
# an error state
|
||||||
|
- name: Get PR files number
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
run: 'yarn check:pr-files-count ${{ github.ref_name }}'
|
||||||
|
id: pr-files
|
||||||
|
|
||||||
- name: Get Directories to Scan
|
- name: Get Directories to Scan
|
||||||
|
if: ${{ steps.pr-files.outputs.files_lt_threshold == 'true' }}
|
||||||
working-directory: www/vale
|
working-directory: www/vale
|
||||||
run: ./get-files.sh ui src/content/docs
|
run: ./get-files.sh ui src/content/docs
|
||||||
id: directories
|
id: directories
|
||||||
|
|
||||||
- name: Vale Linter
|
- name: Vale Linter
|
||||||
uses: errata-ai/vale-action@reviewdog
|
uses: errata-ai/vale-action@reviewdog
|
||||||
|
if: ${{ steps.pr-files.outputs.files_lt_threshold == 'true' }}
|
||||||
with:
|
with:
|
||||||
files: ${{ steps.directories.outputs.LIST }}
|
files: ${{ steps.directories.outputs.LIST }}
|
||||||
fail_on_error: true
|
fail_on_error: true
|
||||||
@@ -117,20 +240,41 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install docs-util Dependencies
|
||||||
|
run: yarn
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
- name: Build packages
|
||||||
|
run: yarn build
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
# reviewdog throws an error when the number
|
||||||
|
# of file changes in a PR is > 300, so
|
||||||
|
# we retrieve the number of changed files
|
||||||
|
# and only run the linter if the number is
|
||||||
|
# less than 300. This is to avoid a PR hanging in
|
||||||
|
# an error state
|
||||||
|
- name: Get PR files number
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
run: 'yarn check:pr-files-count ${{ github.ref_name }}'
|
||||||
|
id: pr-files
|
||||||
|
|
||||||
- name: Get Directories to Scan
|
- name: Get Directories to Scan
|
||||||
|
if: ${{ steps.pr-files.outputs.files_lt_threshold == 'true' }}
|
||||||
working-directory: www/vale
|
working-directory: www/vale
|
||||||
run: ./get-files.sh api-reference app/_mdx
|
run: ./get-files.sh api-reference app/_mdx
|
||||||
id: directories
|
id: directories
|
||||||
|
|
||||||
- name: Vale Linter
|
- name: Vale Linter
|
||||||
uses: errata-ai/vale-action@reviewdog
|
uses: errata-ai/vale-action@reviewdog
|
||||||
|
if: ${{ steps.pr-files.outputs.files_lt_threshold == 'true' }}
|
||||||
with:
|
with:
|
||||||
files: ${{ steps.directories.outputs.LIST }}
|
files: ${{ steps.directories.outputs.LIST }}
|
||||||
fail_on_error: true
|
fail_on_error: true
|
||||||
vale_flags: '--minAlertLevel=error'
|
vale_flags: '--minAlertLevel=error'
|
||||||
reporter: github-pr-check
|
reporter: github-pr-check
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
filter_mode: nofilter
|
filter_mode: diff_context
|
||||||
env:
|
env:
|
||||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
|||||||
@@ -56,13 +56,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate References
|
- name: Generate References
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||||
run: "yarn generate:reference ${{ github.event.inputs.referenceName }}"
|
run: "yarn start generate ${{ github.event.inputs.referenceName }} --merge"
|
||||||
working-directory: docs-util/packages/scripts
|
working-directory: docs-util/packages/typedoc-generate-references
|
||||||
|
|
||||||
- name: Generate References
|
- name: Generate References
|
||||||
if: ${{ github.event_name != 'workflow_dispatch' }}
|
if: ${{ github.event_name != 'workflow_dispatch' }}
|
||||||
run: "yarn generate:reference all"
|
run: "yarn start generate all --merge"
|
||||||
working-directory: docs-util/packages/scripts
|
working-directory: docs-util/packages/typedoc-generate-references
|
||||||
|
|
||||||
- name: Generate Changeset
|
- name: Generate Changeset
|
||||||
run: "yarn generate:changeset"
|
run: "yarn generate:changeset"
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
base: "develop"
|
base: "develop"
|
||||||
title: "chore(docs): Generated References"
|
title: "chore(docs): Generated References"
|
||||||
labels: "type: chore"
|
labels: "type: chore"
|
||||||
add-paths: www/apps/docs/content/references/**
|
add-paths: www/apps/resources/references/**
|
||||||
branch: "docs/generate-reference"
|
branch: "docs/generate-reference"
|
||||||
branch-suffix: "timestamp"
|
branch-suffix: "timestamp"
|
||||||
body: ${{ steps.pr-message.outputs.body }}
|
body: ${{ steps.pr-message.outputs.body }}
|
||||||
@@ -0,0 +1,167 @@
|
|||||||
|
name: Generate Public References
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
referenceName:
|
||||||
|
description: 'Reference to Generate. Use either `all` to generate all references, `api` to generate the API reference, or `ui` to generate UI reference.'
|
||||||
|
required: false
|
||||||
|
default: 'all'
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
api:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'release' || github.event.inputs.referenceName == 'all' || github.event.inputs.referenceName == 'api' }}
|
||||||
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.11.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.REFERENCE_PAT }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Setup Node.js environment
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16.10.0"
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
uses: ./.github/actions/cache-deps
|
||||||
|
with:
|
||||||
|
extension: reference
|
||||||
|
|
||||||
|
- name: Build Packages
|
||||||
|
run: yarn build
|
||||||
|
|
||||||
|
- name: Generate API Reference
|
||||||
|
run: yarn openapi:generate
|
||||||
|
|
||||||
|
- name: Install and Build docs-util dependencies
|
||||||
|
run: yarn && yarn build
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
- name: Generate Changeset
|
||||||
|
run: "yarn generate:changeset"
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
|
||||||
|
- name: Create Pull Request
|
||||||
|
uses: peter-evans/create-pull-request@v4
|
||||||
|
with:
|
||||||
|
commit-message: "chore(docs): Generated API Reference"
|
||||||
|
base: "develop"
|
||||||
|
title: "chore(docs): Updated API Reference"
|
||||||
|
labels: "type: chore"
|
||||||
|
add-paths: www/apps/api-reference/specs
|
||||||
|
branch: "docs/generate-api-ref"
|
||||||
|
branch-suffix: "timestamp"
|
||||||
|
api-v2:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'release' || github.event.inputs.referenceName == 'all' || github.event.inputs.referenceName == 'api' }}
|
||||||
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.11.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.REFERENCE_PAT }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Setup Node.js environment
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16.10.0"
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
uses: ./.github/actions/cache-deps
|
||||||
|
with:
|
||||||
|
extension: reference
|
||||||
|
|
||||||
|
- name: Build Packages
|
||||||
|
run: yarn build
|
||||||
|
|
||||||
|
- name: Generate API Reference (v2)
|
||||||
|
run: yarn openapi:generate --v2
|
||||||
|
|
||||||
|
- name: Install and Build docs-util dependencies
|
||||||
|
run: yarn && yarn build
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
- name: Generate Changeset
|
||||||
|
run: "yarn generate:changeset"
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
|
||||||
|
- name: Create Pull Request
|
||||||
|
uses: peter-evans/create-pull-request@v4
|
||||||
|
with:
|
||||||
|
commit-message: "chore(docs): Generated API Reference (v2)"
|
||||||
|
base: "develop"
|
||||||
|
title: "chore(docs): Updated API Reference (v2)"
|
||||||
|
labels: "type: chore"
|
||||||
|
add-paths: www/apps/api-reference/specs
|
||||||
|
branch: "docs/generate-api-ref"
|
||||||
|
branch-suffix: "timestamp"
|
||||||
|
ui:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'release' || github.event.inputs.referenceName == 'all' || github.event.inputs.referenceName == 'ui' }}
|
||||||
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.11.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.REFERENCE_PAT }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Setup Node.js environment
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16.10.0"
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
uses: ./.github/actions/cache-deps
|
||||||
|
with:
|
||||||
|
extension: reference
|
||||||
|
|
||||||
|
- name: Build Packages
|
||||||
|
run: yarn build
|
||||||
|
|
||||||
|
- name: Install Workspace dependencies
|
||||||
|
run: yarn install
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
- name: Build Workspace dependencies
|
||||||
|
run: yarn build
|
||||||
|
working-directory: docs-util
|
||||||
|
|
||||||
|
- name: Generate UI Specs
|
||||||
|
run: yarn generate:ui
|
||||||
|
working-directory: docs-util/packages/react-docs-generator
|
||||||
|
|
||||||
|
- name: Generate Changeset
|
||||||
|
run: "yarn generate:changeset"
|
||||||
|
working-directory: docs-util/packages/scripts
|
||||||
|
|
||||||
|
- name: Create Pull Request
|
||||||
|
uses: peter-evans/create-pull-request@v4
|
||||||
|
with:
|
||||||
|
commit-message: "chore(docs): Generated UI Reference"
|
||||||
|
base: "develop"
|
||||||
|
title: "chore(docs): Updated UI Reference"
|
||||||
|
labels: "type: chore"
|
||||||
|
add-paths: www/apps/ui/src/specs
|
||||||
|
branch: "docs/generate-ui-ref"
|
||||||
|
branch-suffix: "timestamp"
|
||||||
@@ -1,167 +0,0 @@
|
|||||||
name: Generate Automated Documentation
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
referenceName:
|
|
||||||
description: 'Reference to Generate. Use either `all` to generate all references, `api` to generate the API reference, or `ui` to generate UI reference.'
|
|
||||||
required: false
|
|
||||||
default: 'all'
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
api:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event_name == 'release' || github.event.inputs.referenceName == 'all' || github.event.inputs.referenceName == 'api' }}
|
|
||||||
steps:
|
|
||||||
- name: Cancel Previous Runs
|
|
||||||
uses: styfle/cancel-workflow-action@0.11.0
|
|
||||||
with:
|
|
||||||
access_token: ${{ github.token }}
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.REFERENCE_PAT }}
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "16.10.0"
|
|
||||||
cache: "yarn"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: ./.github/actions/cache-deps
|
|
||||||
with:
|
|
||||||
extension: reference
|
|
||||||
|
|
||||||
- name: Build Packages
|
|
||||||
run: yarn build
|
|
||||||
|
|
||||||
- name: Generate API Reference
|
|
||||||
run: yarn openapi:generate
|
|
||||||
|
|
||||||
- name: Install and Build docs-util dependencies
|
|
||||||
run: yarn && yarn build
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Generate Changeset
|
|
||||||
run: "yarn generate:changeset"
|
|
||||||
working-directory: docs-util/packages/scripts
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v4
|
|
||||||
with:
|
|
||||||
commit-message: "chore(docs): Generated API Reference"
|
|
||||||
base: "develop"
|
|
||||||
title: "chore(docs): Updated API Reference"
|
|
||||||
labels: "type: chore"
|
|
||||||
add-paths: www/apps/api-reference/specs
|
|
||||||
branch: "docs/generate-api-ref"
|
|
||||||
branch-suffix: "timestamp"
|
|
||||||
api-v2:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event_name == 'release' || github.event.inputs.referenceName == 'all' || github.event.inputs.referenceName == 'api' }}
|
|
||||||
steps:
|
|
||||||
- name: Cancel Previous Runs
|
|
||||||
uses: styfle/cancel-workflow-action@0.11.0
|
|
||||||
with:
|
|
||||||
access_token: ${{ github.token }}
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.REFERENCE_PAT }}
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "16.10.0"
|
|
||||||
cache: "yarn"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: ./.github/actions/cache-deps
|
|
||||||
with:
|
|
||||||
extension: reference
|
|
||||||
|
|
||||||
- name: Build Packages
|
|
||||||
run: yarn build
|
|
||||||
|
|
||||||
- name: Generate API Reference (v2)
|
|
||||||
run: yarn openapi:generate --v2
|
|
||||||
|
|
||||||
- name: Install and Build docs-util dependencies
|
|
||||||
run: yarn && yarn build
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Generate Changeset
|
|
||||||
run: "yarn generate:changeset"
|
|
||||||
working-directory: docs-util/packages/scripts
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v4
|
|
||||||
with:
|
|
||||||
commit-message: "chore(docs): Generated API Reference (v2)"
|
|
||||||
base: "develop"
|
|
||||||
title: "chore(docs): Updated API Reference (v2)"
|
|
||||||
labels: "type: chore"
|
|
||||||
add-paths: www/apps/api-reference/specs
|
|
||||||
branch: "docs/generate-api-ref"
|
|
||||||
branch-suffix: "timestamp"
|
|
||||||
ui:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event_name == 'release' || github.event.inputs.referenceName == 'all' || github.event.inputs.referenceName == 'ui' }}
|
|
||||||
steps:
|
|
||||||
- name: Cancel Previous Runs
|
|
||||||
uses: styfle/cancel-workflow-action@0.11.0
|
|
||||||
with:
|
|
||||||
access_token: ${{ github.token }}
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.REFERENCE_PAT }}
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "16.10.0"
|
|
||||||
cache: "yarn"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: ./.github/actions/cache-deps
|
|
||||||
with:
|
|
||||||
extension: reference
|
|
||||||
|
|
||||||
- name: Build Packages
|
|
||||||
run: yarn build
|
|
||||||
|
|
||||||
- name: Install Workspace dependencies
|
|
||||||
run: yarn install
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Build Workspace dependencies
|
|
||||||
run: yarn build
|
|
||||||
working-directory: docs-util
|
|
||||||
|
|
||||||
- name: Generate UI Specs
|
|
||||||
run: yarn generate:ui
|
|
||||||
working-directory: docs-util/packages/react-docs-generator
|
|
||||||
|
|
||||||
- name: Generate Changeset
|
|
||||||
run: "yarn generate:changeset"
|
|
||||||
working-directory: docs-util/packages/scripts
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v4
|
|
||||||
with:
|
|
||||||
commit-message: "chore(docs): Generated UI Reference"
|
|
||||||
base: "develop"
|
|
||||||
title: "chore(docs): Updated UI Reference"
|
|
||||||
labels: "type: chore"
|
|
||||||
add-paths: www/apps/ui/src/specs
|
|
||||||
branch: "docs/generate-ui-ref"
|
|
||||||
branch-suffix: "timestamp"
|
|
||||||
@@ -19,14 +19,6 @@ tags:
|
|||||||
description: How to manage currencies
|
description: How to manage currencies
|
||||||
url: https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies
|
url: https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies
|
||||||
- name: Customer Groups
|
- name: Customer Groups
|
||||||
description: >
|
|
||||||
Customer Groups can be used to organize customers that share similar data
|
|
||||||
or attributes into dedicated groups.
|
|
||||||
|
|
||||||
This can be useful for different purposes such as setting a different price for a specific customer group.
|
|
||||||
externalDocs:
|
|
||||||
description: How to manage customer groups
|
|
||||||
url: https://docs.medusajs.com/modules/customers/admin/manage-customer-groups
|
|
||||||
- name: Customers
|
- name: Customers
|
||||||
description: >
|
description: >
|
||||||
Customers can either be created when they register through the Store APIs,
|
Customers can either be created when they register through the Store APIs,
|
||||||
@@ -39,13 +31,6 @@ tags:
|
|||||||
- name: Fulfillment Sets
|
- name: Fulfillment Sets
|
||||||
- name: Fulfillments
|
- name: Fulfillments
|
||||||
- name: Inventory Items
|
- name: Inventory Items
|
||||||
description: >
|
|
||||||
Inventory items, provided by the [Inventory
|
|
||||||
Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module),
|
|
||||||
can be used to manage the inventory of saleable items in your store.
|
|
||||||
externalDocs:
|
|
||||||
description: How to manage inventory items
|
|
||||||
url: https://docs.medusajs.com/modules/multiwarehouse/admin/manage-inventory-items
|
|
||||||
- name: Invites
|
- name: Invites
|
||||||
description: >
|
description: >
|
||||||
An admin can invite new users to manage their team. This would allow new
|
An admin can invite new users to manage their team. This would allow new
|
||||||
@@ -55,28 +40,14 @@ tags:
|
|||||||
url: https://docs.medusajs.com/modules/users/admin/manage-invites
|
url: https://docs.medusajs.com/modules/users/admin/manage-invites
|
||||||
- name: Orders
|
- name: Orders
|
||||||
- name: Payments
|
- name: Payments
|
||||||
description: >
|
|
||||||
A payment can be related to an order, swap, return, or more. It can be
|
|
||||||
captured or refunded.
|
|
||||||
- name: Price Lists
|
- name: Price Lists
|
||||||
description: >
|
|
||||||
A price list are special prices applied to products based on a set of
|
|
||||||
conditions, such as customer group.
|
|
||||||
externalDocs:
|
|
||||||
description: How to manage price lists
|
|
||||||
url: https://docs.medusajs.com/modules/price-lists/admin/manage-price-lists
|
|
||||||
- name: Pricing
|
- name: Pricing
|
||||||
- name: Product Categories
|
- name: Product Categories
|
||||||
- name: Product Types
|
- name: Product Types
|
||||||
- name: Products
|
- name: Products
|
||||||
description: >
|
|
||||||
Products are saleable items in a store. This also includes [saleable gift
|
|
||||||
cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product)
|
|
||||||
in a store.
|
|
||||||
externalDocs:
|
|
||||||
description: How to manage products
|
|
||||||
url: https://docs.medusajs.com/modules/products/admin/manage-products
|
|
||||||
- name: Promotions
|
- name: Promotions
|
||||||
|
x-associatedSchema:
|
||||||
|
$ref: "#/components/schemas/Promotion"
|
||||||
- name: Regions
|
- name: Regions
|
||||||
description: >
|
description: >
|
||||||
Regions are different countries or geographical regions that the commerce
|
Regions are different countries or geographical regions that the commerce
|
||||||
@@ -101,22 +72,9 @@ tags:
|
|||||||
- name: Stock Locations
|
- name: Stock Locations
|
||||||
- name: Stores
|
- name: Stores
|
||||||
- name: Tax Rates
|
- name: Tax Rates
|
||||||
description: >
|
|
||||||
Each region has at least a default tax rate. Admins can create and manage
|
|
||||||
additional tax rates that can be applied for certain conditions, such as
|
|
||||||
for specific product types.
|
|
||||||
externalDocs:
|
|
||||||
description: How to manage tax rates
|
|
||||||
url: https://docs.medusajs.com/modules/taxes/admin/manage-tax-rates
|
|
||||||
- name: Tax Regions
|
- name: Tax Regions
|
||||||
- name: Uploads
|
- name: Uploads
|
||||||
- name: Users
|
- name: Users
|
||||||
description: >
|
|
||||||
A store can have more than one user, each having the same privileges.
|
|
||||||
Admins can manage users, their passwords, and more.
|
|
||||||
externalDocs:
|
|
||||||
description: How to manage users
|
|
||||||
url: https://docs.medusajs.com/modules/users/admin/manage-users
|
|
||||||
- name: Workflows Executions
|
- name: Workflows Executions
|
||||||
servers:
|
servers:
|
||||||
- url: http://localhost:9000
|
- url: http://localhost:9000
|
||||||
|
|||||||
@@ -18,12 +18,6 @@ tags:
|
|||||||
- name: Collections
|
- name: Collections
|
||||||
- name: Currencies
|
- name: Currencies
|
||||||
- name: Customers
|
- name: Customers
|
||||||
description: >
|
|
||||||
A customer can register and manage their information such as addresses,
|
|
||||||
orders, payment methods, and more.
|
|
||||||
externalDocs:
|
|
||||||
description: How to implement customer profiles in your storefront
|
|
||||||
url: https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles
|
|
||||||
- name: Payment Collections
|
- name: Payment Collections
|
||||||
description: >
|
description: >
|
||||||
A payment collection is useful for managing additional payments, such as
|
A payment collection is useful for managing additional payments, such as
|
||||||
@@ -40,12 +34,6 @@ tags:
|
|||||||
description: How to use regions in a storefront
|
description: How to use regions in a storefront
|
||||||
url: https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions
|
url: https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions
|
||||||
- name: Shipping Options
|
- name: Shipping Options
|
||||||
description: >
|
|
||||||
A shipping option is used to define the available shipping methods during
|
|
||||||
checkout or when creating a return.
|
|
||||||
externalDocs:
|
|
||||||
description: Shipping Option architecture
|
|
||||||
url: https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option
|
|
||||||
servers:
|
servers:
|
||||||
- url: http://localhost:9000
|
- url: http://localhost:9000
|
||||||
- url: https://api.medusa-commerce.com
|
- url: https://api.medusa-commerce.com
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -19,6 +19,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of api keys. The api keys can be filtered by fields
|
* description: Retrieve a list of api keys. The api keys can be filtered by fields
|
||||||
* such as `id`. The api keys can also be sorted or paginated.
|
* such as `id`. The api keys can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of campaigns. The campaigns can be filtered by
|
* description: Retrieve a list of campaigns. The campaigns can be filtered by
|
||||||
* fields such as `id`. The campaigns can also be sorted or paginated.
|
* fields such as `id`. The campaigns can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of collections. The collections can be filtered by
|
* description: Retrieve a list of collections. The collections can be filtered by
|
||||||
* fields such as `id`. The collections can also be sorted or paginated.
|
* fields such as `id`. The collections can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of currencies. The currencies can be filtered by
|
* description: Retrieve a list of currencies. The currencies can be filtered by
|
||||||
* fields such as `id`. The currencies can also be sorted or paginated.
|
* fields such as `id`. The currencies can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -6,7 +6,47 @@
|
|||||||
* filtered by fields such as `id`. The customer groups can also be sorted or
|
* filtered by fields such as `id`. The customer groups can also be sorted or
|
||||||
* paginated.
|
* paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of customers. The customers can be filtered by
|
* description: Retrieve a list of customers. The customers can be filtered by
|
||||||
* fields such as `id`. The customers can also be sorted or paginated.
|
* fields such as `id`. The customers can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -6,7 +6,47 @@
|
|||||||
* filtered by fields such as `id`. The inventory items can also be sorted or
|
* filtered by fields such as `id`. The inventory items can also be sorted or
|
||||||
* paginated.
|
* paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of invites. The invites can be filtered by fields
|
* description: Retrieve a list of invites. The invites can be filtered by fields
|
||||||
* such as `id`. The invites can also be sorted or paginated.
|
* such as `id`. The invites can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of payments. The payments can be filtered by fields
|
* description: Retrieve a list of payments. The payments can be filtered by fields
|
||||||
* such as `id`. The payments can also be sorted or paginated.
|
* such as `id`. The payments can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of price lists. The price lists can be filtered by
|
* description: Retrieve a list of price lists. The price lists can be filtered by
|
||||||
* fields such as `id`. The price lists can also be sorted or paginated.
|
* fields such as `id`. The price lists can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of pricing. The pricing can be filtered by fields
|
* description: Retrieve a list of pricing. The pricing can be filtered by fields
|
||||||
* such as `id`. The pricing can also be sorted or paginated.
|
* such as `id`. The pricing can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of products. The products can be filtered by fields
|
* description: Retrieve a list of products. The products can be filtered by fields
|
||||||
* such as `id`. The products can also be sorted or paginated.
|
* such as `id`. The products can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
@@ -8375,6 +8415,11 @@
|
|||||||
* $ref: "#/components/responses/invalid_request_error"
|
* $ref: "#/components/responses/invalid_request_error"
|
||||||
* "500":
|
* "500":
|
||||||
* $ref: "#/components/responses/500_error"
|
* $ref: "#/components/responses/500_error"
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/AdminGetProductsParams"
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of promotions. The promotions can be filtered by
|
* description: Retrieve a list of promotions. The promotions can be filtered by
|
||||||
* fields such as `id`. The promotions can also be sorted or paginated.
|
* fields such as `id`. The promotions can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
@@ -50,6 +90,11 @@
|
|||||||
* $ref: "#/components/responses/invalid_request_error"
|
* $ref: "#/components/responses/invalid_request_error"
|
||||||
* "500":
|
* "500":
|
||||||
* $ref: "#/components/responses/500_error"
|
* $ref: "#/components/responses/500_error"
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/AdminGetPromotionsParams"
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of regions. The regions can be filtered by fields
|
* description: Retrieve a list of regions. The regions can be filtered by fields
|
||||||
* such as `id`. The regions can also be sorted or paginated.
|
* such as `id`. The regions can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -6,7 +6,47 @@
|
|||||||
* filtered by fields such as `id`. The sales channels can also be sorted or
|
* filtered by fields such as `id`. The sales channels can also be sorted or
|
||||||
* paginated.
|
* paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of stores. The stores can be filtered by fields
|
* description: Retrieve a list of stores. The stores can be filtered by fields
|
||||||
* such as `id`. The stores can also be sorted or paginated.
|
* such as `id`. The stores can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of tax rates. The tax rates can be filtered by
|
* description: Retrieve a list of tax rates. The tax rates can be filtered by
|
||||||
* fields such as `id`. The tax rates can also be sorted or paginated.
|
* fields such as `id`. The tax rates can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of users. The users can be filtered by fields such
|
* description: Retrieve a list of users. The users can be filtered by fields such
|
||||||
* as `id`. The users can also be sorted or paginated.
|
* as `id`. The users can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -5,7 +5,47 @@
|
|||||||
* description: Retrieve a list of users. The users can be filtered by fields such
|
* description: Retrieve a list of users. The users can be filtered by fields such
|
||||||
* as `id`. The users can also be sorted or paginated.
|
* as `id`. The users can also be sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -6,7 +6,47 @@
|
|||||||
* can be filtered by fields such as `id`. The workflows executions can also be
|
* can be filtered by fields such as `id`. The workflows executions can also be
|
||||||
* sorted or paginated.
|
* sorted or paginated.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -12,6 +12,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -18,6 +18,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -25,6 +25,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -13,6 +13,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -4,17 +4,67 @@
|
|||||||
* summary: Create Api Key
|
* summary: Create Api Key
|
||||||
* description: Create a api key.
|
* description: Create a api key.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CreateApiKey"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
* source: |-
|
* source: |-
|
||||||
* curl -X POST '{backend_url}/admin/api-keys' \
|
* curl -X POST '{backend_url}/admin/api-keys' \
|
||||||
* -H 'x-medusa-access-token: {api_token}'
|
* -H 'x-medusa-access-token: {api_token}' \
|
||||||
|
* -H 'Content-Type: application/json' \
|
||||||
|
* --data-raw '{
|
||||||
|
* "title": "{value}",
|
||||||
|
* "type": "{value}"
|
||||||
|
* }'
|
||||||
* tags:
|
* tags:
|
||||||
* - Api Keys
|
* - Api Keys
|
||||||
* responses:
|
* responses:
|
||||||
|
|||||||
@@ -11,10 +11,55 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/UpdateApiKey"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -4,17 +4,69 @@
|
|||||||
* summary: Create Campaign
|
* summary: Create Campaign
|
||||||
* description: Create a campaign.
|
* description: Create a campaign.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CreateCampaign"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
* source: |-
|
* source: |-
|
||||||
* curl -X POST '{backend_url}/admin/campaigns' \
|
* curl -X POST '{backend_url}/admin/campaigns' \
|
||||||
* -H 'x-medusa-access-token: {api_token}'
|
* -H 'x-medusa-access-token: {api_token}' \
|
||||||
|
* -H 'Content-Type: application/json' \
|
||||||
|
* --data-raw '{
|
||||||
|
* "name": "Elwin",
|
||||||
|
* "campaign_identifier": "{value}",
|
||||||
|
* "starts_at": "2024-11-30T18:47:00.491Z",
|
||||||
|
* "ends_at": "2025-02-26T07:41:34.259Z"
|
||||||
|
* }'
|
||||||
* tags:
|
* tags:
|
||||||
* - Campaigns
|
* - Campaigns
|
||||||
* responses:
|
* responses:
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
@@ -91,7 +131,7 @@
|
|||||||
* -H 'x-medusa-access-token: {api_token}' \
|
* -H 'x-medusa-access-token: {api_token}' \
|
||||||
* -H 'Content-Type: application/json' \
|
* -H 'Content-Type: application/json' \
|
||||||
* --data-raw '{
|
* --data-raw '{
|
||||||
* "name": "Moriah"
|
* "name": "Janessa"
|
||||||
* }'
|
* }'
|
||||||
* tags:
|
* tags:
|
||||||
* - Campaigns
|
* - Campaigns
|
||||||
|
|||||||
@@ -4,17 +4,66 @@
|
|||||||
* summary: Create Collection
|
* summary: Create Collection
|
||||||
* description: Create a collection.
|
* description: Create a collection.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CreateProductCollection"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
* source: |-
|
* source: |-
|
||||||
* curl -X POST '{backend_url}/admin/collections' \
|
* curl -X POST '{backend_url}/admin/collections' \
|
||||||
* -H 'x-medusa-access-token: {api_token}'
|
* -H 'x-medusa-access-token: {api_token}' \
|
||||||
|
* -H 'Content-Type: application/json' \
|
||||||
|
* --data-raw '{
|
||||||
|
* "title": "{value}"
|
||||||
|
* }'
|
||||||
* tags:
|
* tags:
|
||||||
* - Collections
|
* - Collections
|
||||||
* responses:
|
* responses:
|
||||||
|
|||||||
@@ -11,10 +11,55 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/UpdateProductCollection"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
|
|||||||
@@ -4,17 +4,66 @@
|
|||||||
* summary: Create Customer Group
|
* summary: Create Customer Group
|
||||||
* description: Create a customer group.
|
* description: Create a customer group.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CreateCustomerGroup"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
* source: |-
|
* source: |-
|
||||||
* curl -X POST '{backend_url}/admin/customer-groups' \
|
* curl -X POST '{backend_url}/admin/customer-groups' \
|
||||||
* -H 'x-medusa-access-token: {api_token}'
|
* -H 'x-medusa-access-token: {api_token}' \
|
||||||
|
* -H 'Content-Type: application/json' \
|
||||||
|
* --data-raw '{
|
||||||
|
* "name": "Dave"
|
||||||
|
* }'
|
||||||
* tags:
|
* tags:
|
||||||
* - Customer Groups
|
* - Customer Groups
|
||||||
* responses:
|
* responses:
|
||||||
|
|||||||
@@ -11,10 +11,55 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CustomerGroupUpdatableFields"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -4,11 +4,56 @@
|
|||||||
* summary: Create Customer
|
* summary: Create Customer
|
||||||
* description: Create a customer.
|
* description: Create a customer.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CreateCustomer"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
|
|||||||
@@ -11,10 +11,55 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CustomerUpdatableFields"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
|
|||||||
@@ -11,16 +11,65 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CreateCustomerAddress"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
* source: |-
|
* source: |-
|
||||||
* curl -X POST '{backend_url}/admin/customers/{id}/addresses' \
|
* curl -X POST '{backend_url}/admin/customers/{id}/addresses' \
|
||||||
* -H 'x-medusa-access-token: {api_token}'
|
* -H 'x-medusa-access-token: {api_token}' \
|
||||||
|
* -H 'Content-Type: application/json' \
|
||||||
|
* --data-raw '{
|
||||||
|
* "customer_id": "{value}"
|
||||||
|
* }'
|
||||||
* tags:
|
* tags:
|
||||||
* - Customers
|
* - Customers
|
||||||
* responses:
|
* responses:
|
||||||
|
|||||||
+45
@@ -17,10 +17,55 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CustomerAddress"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -4,7 +4,47 @@
|
|||||||
* summary: Create Inventory Item
|
* summary: Create Inventory Item
|
||||||
* description: Create a inventory item.
|
* description: Create a inventory item.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
+40
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -4,17 +4,66 @@
|
|||||||
* summary: Create Invite
|
* summary: Create Invite
|
||||||
* description: Create a invite.
|
* description: Create a invite.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
* - jwt_token: []
|
* - jwt_token: []
|
||||||
|
* requestBody:
|
||||||
|
* content:
|
||||||
|
* application/json:
|
||||||
|
* schema:
|
||||||
|
* $ref: "#/components/schemas/CreateInvite"
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
* source: |-
|
* source: |-
|
||||||
* curl -X POST '{backend_url}/admin/invites' \
|
* curl -X POST '{backend_url}/admin/invites' \
|
||||||
* -H 'x-medusa-access-token: {api_token}'
|
* -H 'x-medusa-access-token: {api_token}' \
|
||||||
|
* -H 'Content-Type: application/json' \
|
||||||
|
* --data-raw '{
|
||||||
|
* "email": "Nola57@hotmail.com"
|
||||||
|
* }'
|
||||||
* tags:
|
* tags:
|
||||||
* - Invites
|
* - Invites
|
||||||
* responses:
|
* responses:
|
||||||
|
|||||||
@@ -11,6 +11,46 @@
|
|||||||
* required: true
|
* required: true
|
||||||
* schema:
|
* schema:
|
||||||
* type: string
|
* type: string
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
@@ -4,7 +4,47 @@
|
|||||||
* summary: Create Invite
|
* summary: Create Invite
|
||||||
* description: Create a invite.
|
* description: Create a invite.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters: []
|
* parameters:
|
||||||
|
* - name: expand
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: expand
|
||||||
|
* description: Comma-separated relations that should be expanded in the returned data.
|
||||||
|
* - name: fields
|
||||||
|
* in: query
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: fields
|
||||||
|
* description: Comma-separated fields that should be included in the returned data.
|
||||||
|
* - name: offset
|
||||||
|
* in: query
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: offset
|
||||||
|
* description: The number of items to skip when retrieving a list.
|
||||||
|
* - name: limit
|
||||||
|
* in: query
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: number
|
||||||
|
* title: limit
|
||||||
|
* description: Limit the number of items returned in the list.
|
||||||
|
* - name: order
|
||||||
|
* in: query
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
|
* required: false
|
||||||
|
* schema:
|
||||||
|
* type: string
|
||||||
|
* title: order
|
||||||
|
* description: Field to sort items in the list by.
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
* - cookie_auth: []
|
* - cookie_auth: []
|
||||||
|
|||||||
Loaded 100 of 6187 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user